From 43a274062945022b6caaf4db2c13d1c4764c0407 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 12 Mar 2005 20:45:26 +0000 Subject: Add bkw's squid changes. * Touch /usr/local/etc/squid/mime.conf * Remove /usr/local/libexec/squid/ on deinstall * Remove /usr/local/etc/squid/ on deinstall * Remove /usr/local/squid/ on deinstall --- packages/squid.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages') 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(); /usr/local/sbin/squid @@ -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/"); -- cgit v1.2.3