]> ###AS ALWAYS VERIFY THE FOLDERS THE PLUGIN OFFERS UP TO DELETE### ###2022.10.21 - Support translations by request ###2021.12.08 - Ignore error if corrupted XML files ###2021.11.27 - Unraid 6.10 compatibility ###2021.03.10 - Permission Fix ###2020.10.21 - Compatibility Fixes ###2019.09.15 - Fixed: Weirdness if using an appdata folder containing special characters ###2019.08.18 - Add another CYA banner warning ###2019.08.03 - Add large warning that if you screwed up, it's your problem ###2019.06.01 - Fix typo, credits fix, change update notification to CA style ###2019.05.14 - Suppress errors if xml file is corrupted ###2019.01.13 - Update Icon ###2018.12.31 - Add in some checks for when user had a severely misconfigured application previously installed ###2018.10.19 - Fix Broken Pipe ###2018.03.15 - Ignore metadata files created by OSX ###2017.11.23 - Reorganization as part of updates to CA proper - Relocate Icon to Settings / User Utilities ###2017.01.28 - Fixed: Errors when no templates have any possibilities for cleanup ###2016.11.11 - Initial Release ]]> # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;') https://raw.github.com/&github;/master/archive/&name;-&version;-x86_64-1.txz &md5; rm -rf /usr/local/emhttp/plugins/ca.cleanup.appdata/CA.page rm -rf /usr/local/emhttp/plugins/ca.cleanup.appdata/caHelp.page echo "" echo "----------------------------------------------------" echo " &name; has been installed." echo " Copyright 2015-2016, Andrew Zawadzki" echo " Version: &version;" echo "----------------------------------------------------" echo "" removepkg &name;-&version;-x86_64-1 rm -rf &plugdir; rm -rf /boot/config/plugins/&name;