aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid.xml')
-rw-r--r--packages/squid.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/squid.xml b/packages/squid.xml
index 9044934b..34a6b6b1 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -81,7 +81,11 @@
filter_configure();
</custom_php_install_command>
<custom_php_deinstall_command>
- mwexec("/bin/rm -rf /usr/local/squid");
+ rmdir_recursive("/usr/local/squid");
+ unlink_if_exists("/var/mail/squid");
+ unlink_if_exists("/usr/local/etc/rc.d/squid");
+ unlink_if_exists("/usr/local/etc/squid/squid.conf");
+ rmdir_recursive("/usr/local/etc/squid");
filter_configure();
</custom_php_deinstall_command>
<start_command>/usr/local/etc/rc.d/squid.sh</start_command>