diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-12 20:45:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-12 20:45:26 +0000 |
commit | 43a274062945022b6caaf4db2c13d1c4764c0407 (patch) | |
tree | 46d5ae66d60f8546c58b9d220d5c1628509e9210 /packages/squid.xml | |
parent | 400b1e4cbe9be095fcf753393eb60a804b6f83f3 (diff) | |
download | pfsense-packages-43a274062945022b6caaf4db2c13d1c4764c0407.tar.gz pfsense-packages-43a274062945022b6caaf4db2c13d1c4764c0407.tar.bz2 pfsense-packages-43a274062945022b6caaf4db2c13d1c4764c0407.zip |
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
Diffstat (limited to 'packages/squid.xml')
-rw-r--r-- | packages/squid.xml | 4 |
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> |