From f50febb2c07e39735ba42cabf8540c477e279c73 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sun, 20 Mar 2005 18:04:05 +0000 Subject: use better functions for cleanup --- packages/squid.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); - 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(); /usr/local/etc/rc.d/squid.sh -- cgit v1.2.3