]> ##&name; ###2024.01.29 - First version ###2025.01.21 - Breaking change: Recompiled for OpenSSL 3.4 in order to comply with Unraid 7. Unraid 6 is no longer supported the txz file (2024.01.29) is still available in the Github repo for manual installations. ###2025.01.22 - Ensure backwards compatibility for Unraid versions prior 7.0.0 - Ensure that icon shows up on Plugin page # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;') # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '2024.01.29') https://github.com/rezo552/unraid-ltfs/raw/main/packages/&name;-&version;.txz https://github.com/rezo552/unraid-ltfs/raw/main/packages/unraid-ltfs-2024.01.29.txz # Check if plugin icon is avaliable if [ ! -f /boot/config/plugins/&name;/&name;.png ]; then wget -q -O /boot/config/plugins/&name;/&name;.png "https://raw.githubusercontent.com/rezo552/unraid-ltfs/refs/heads/main/LTFS.png" fi # Install icon if [ ! -f /usr/local/emhttp/plugins/&name;/images/&name;.png ]; then if [ ! -d /usr/local/emhttp/plugins/&name;/images ]; then mkdir -p /usr/local/emhttp/plugins/&name;/images fi cp /boot/config/plugins/&name;/&name;.png /usr/local/emhttp/plugins/&name;/images/&name;.png fi echo "" echo "-----------------------------------------------------------" echo " &name; has been installed." echo "" echo " Copyright 2024, &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" echo "Removing packages..." # Remove all installed packages. removepkg &name;-&version; >/dev/null # Remove possible leftovers rm -rf /usr/local/emhttp/plugins/&name; rm -rf /boot/config/plugins/&name; echo "" echo "-----------------------------------------------------------" echo " &name; has been uninstalled." echo "-----------------------------------------------------------" echo ""