aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squidGuard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml
index 67abff0e..714be38c 100644
--- a/packages/squidGuard.xml
+++ b/packages/squidGuard.xml
@@ -39,8 +39,8 @@
<custom_php_pre_deinstall_command>
</custom_php_pre_deinstall_command>
<custom_php_deinstall_command>
- mwexec("/bin/rm -rf /var/log/squidGuard.lovar/log/squidGuard.log
- mwexec("/bin/rm -rf /var/db/squidGuard");
+ unlink_if_exists("/var/log/squidGuard.log");
+ rmdir_recursive("/var/db/squidGuard");
sync_package("squid");
system("/usr/local/sbin/squid -k reconfigure");
</custom_php_deinstall_command>