diff --git a/archive/NerdTools-2022.10.06-x86_64-1.txz b/archive/NerdTools-2022.10.06-x86_64-1.txz new file mode 100644 index 0000000..f0b5bc0 Binary files /dev/null and b/archive/NerdTools-2022.10.06-x86_64-1.txz differ diff --git a/plugin/NerdTools.plg b/plugin/NerdTools.plg index c58309c..2eaa32f 100644 --- a/plugin/NerdTools.plg +++ b/plugin/NerdTools.plg @@ -3,8 +3,8 @@ - - + + diff --git a/source/NerdTools/usr/local/emhttp/plugins/NerdTools/scripts/packagemanager b/source/NerdTools/usr/local/emhttp/plugins/NerdTools/scripts/packagemanager index 9cd0be5..0ebfb57 100755 --- a/source/NerdTools/usr/local/emhttp/plugins/NerdTools/scripts/packagemanager +++ b/source/NerdTools/usr/local/emhttp/plugins/NerdTools/scripts/packagemanager @@ -128,7 +128,7 @@ foreach ($pkg_cfg as $pkg_name => $pkg_pref) { // get preferences for each packa logger("$pkg_name in use by another plugin, not uninstalled.",$argq); }else{ $pkg_msg = 'Uninstalling and deleting'; - $pkg_cmd = 'removepkg '.$pkg_extra_path.$pkg_name.'* 2>&1; rm '.$pkg_extra_path.$pkg_name.'* 2>&1'; + $pkg_cmd = 'removepkg '.$pkg_extra_path.$pkg_name.'*_nerdtools.txz 2>&1; rm '.$pkg_extra_path.$pkg_name.'*_nerdtools.txz 2>&1'; } } @@ -155,8 +155,8 @@ foreach ($pkg_cfg as $pkg_name => $pkg_pref) { // get preferences for each packa } logger('Cleaning up packages...'); -$cmd = "find ".$pkg_extra_path." -type f ! -name 'packages.json' ! -name 'packages-desc'".$pkg_find." -delete 2>&1"; -shell_exec($cmd); +#$cmd = "find ".$pkg_extra_path." -type f ! -name 'packages.json' ! -name 'packages-desc'".$pkg_find." -delete 2>&1"; +#shell_exec($cmd); logger('All packages processed...');