aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/squid.xml b/packages/squid.xml
index e7cc3688..5367c995 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -42,6 +42,7 @@
system("chmod a+x /usr/local/etc/rc.d/squid.sh");
system("/usr/local/sbin/squid -z");
system("/usr/local/sbin/squid");
+ system("/usr/bin/touch /usr/local/etc/squid/mime.conf");
filter_configure();
</custom_php_install_command>
<start_command>/usr/local/sbin/squid</start_command>
@@ -49,6 +50,9 @@
exec("mv /var/db/pkg/squid* /tmp/");
filter_configure();
exec("mv /tmp/squid* /var/db/pkg/");
+ exec("rm -rf /usr/local/squid/");
+ exec("rm -rf /usr/local/etc/squid/");
+ exec("rm -rf /usr/local/libexec/squid/");
</custom_php_pre_deinstall_command>
<custom_php_deinstall_command>
</custom_php_deinstall_command>