From b6cab93bd155e40fa821803a68b6930a2386c6d4 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sun, 8 Apr 2018 14:02:14 -0400 Subject: [PATCH] Update cron when removing a plugin To prevent any .cron files previously added from continuing to be executed --- 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 9074e847f..b1ecbfb32 100755 --- a/plugins/dynamix.plugin.manager/scripts/plugin +++ b/plugins/dynamix.plugin.manager/scripts/plugin @@ -550,6 +550,7 @@ if ($method == "remove") { // remove the plugin file move($installed_plugin_file, "/boot/config/plugins-removed"); echo "plugin: removed\n"; + exec("/usr/local/sbin/update_cron"); exit(0); }