Files
URBM/dist/backupper.plg
T

42 lines
1.5 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE PLUGIN [
<!ENTITY name "backupper">
<!ENTITY author "Backupper Project">
<!ENTITY version "0.1.3">
<!ENTITY pluginURL "https://git.casaderoll.de/michael/BackUpper/raw/branch/main/dist/backupper.plg">
<!ENTITY packageURL "https://git.casaderoll.de/michael/BackUpper/raw/branch/main/dist/backupper-&version;-x86_64-1.txz">
<!ENTITY packageSHA256 "6ba84716a54fdaaa21f05d840cfedaaaa0a10041d05967dbd7a145842bf87a49">
]>
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" min="7.0.0" support="https://git.casaderoll.de/michael/BackUpper/issues">
<CHANGES>
### 0.1.3
- Restore the Backupper entry directly under the Unraid Tools menu.
### 0.1.2
- Improve readability and contrast in Unraid light and dark themes.
### 0.1.1
- Show Backupper under Tools / Utilities in the Unraid WebGUI.
### 0.1.0
- Initial MVP release.
</CHANGES>
<FILE Name="/boot/config/plugins/&name;/backupper-&version;-x86_64-1.txz" Run="upgradepkg --install-new">
<URL>&packageURL;</URL>
<SHA256>&packageSHA256;</SHA256>
</FILE>
<FILE Run="/bin/bash">
<INLINE>
chmod 0700 /boot/config/plugins/&name;
/etc/rc.d/rc.backupper start
</INLINE>
</FILE>
<FILE Run="/bin/bash" Method="remove">
<INLINE>
/etc/rc.d/rc.backupper stop || true
removepkg &name;
rm -rf /usr/local/emhttp/plugins/&name; /usr/local/libexec/&name; /usr/local/sbin/backupperd /etc/rc.d/rc.backupper /run/backupper /var/lib/backupper
</INLINE>
</FILE>
</PLUGIN>