diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-20 18:04:05 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-20 18:04:05 +0000 |
commit | f50febb2c07e39735ba42cabf8540c477e279c73 (patch) | |
tree | 75be59fc54fc3a486e0f3f47939619d504cb40d7 /packages | |
parent | 8a01a10c20fc59bd09e1bc9bd975bfe61f020157 (diff) | |
download | pfsense-packages-f50febb2c07e39735ba42cabf8540c477e279c73.tar.gz pfsense-packages-f50febb2c07e39735ba42cabf8540c477e279c73.tar.bz2 pfsense-packages-f50febb2c07e39735ba42cabf8540c477e279c73.zip |
use better functions for cleanup
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 6 |
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> |