From 577cd0c3359f553b4e8d68fa16e56451a765bead Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Fri, 24 Mar 2017 04:26:31 -0400 Subject: [PATCH] Remove the old temp .plg file on remove plugincheck script doesn't check if a plugin is still installed. Only if the .plg still exists in /tmp/plugins. Update notices will happen until a reboot is issued --- plugins/dynamix.plugin.manager/scripts/plugin | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/dynamix.plugin.manager/scripts/plugin b/plugins/dynamix.plugin.manager/scripts/plugin index c0716aa0a..7a0a2f08a 100755 --- a/plugins/dynamix.plugin.manager/scripts/plugin +++ b/plugins/dynamix.plugin.manager/scripts/plugin @@ -485,6 +485,7 @@ if ($method == "remove") { if ($installed_plugin_file !== false) { // remove the symlink unlink("/var/log/plugins/$plugin"); + @unlink("/tmp/plugins/$plugin"); if (plugin("remove", $installed_plugin_file, $error) === false) { // but if can't remove, restore the symlink symlink($installed_plugin_file, "/var/log/plugins/$plugin");