summaryrefslogtreecommitdiffstats
path: root/www/squid26
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-03-13 14:34:05 +0000
committerolgeni <olgeni@FreeBSD.org>2001-03-13 14:34:05 +0000
commitb075d0e0cc099a969b9a1d96398e92d28a7d4507 (patch)
tree39e17d24fccfc8924ed86692ca86cd7662d03ca6 /www/squid26
parent26b0217fe47352de09ad7432b1545f24ab890c12 (diff)
downloadFreeBSD-ports-b075d0e0cc099a969b9a1d96398e92d28a7d4507.zip
FreeBSD-ports-b075d0e0cc099a969b9a1d96398e92d28a7d4507.tar.gz
Try to remove ${LOCALBASE}/squid at deinstall time, if it is empty.
Reported by: bento logs
Diffstat (limited to 'www/squid26')
-rw-r--r--www/squid26/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/squid26/pkg-plist b/www/squid26/pkg-plist
index 78971cf..ba5a312 100644
--- a/www/squid26/pkg-plist
+++ b/www/squid26/pkg-plist
@@ -68,3 +68,6 @@ sbin/client
sbin/squid
@exec mkdir -p %D/squid/cache
@exec mkdir -p %D/squid/logs
+@unexec rmdir %D/squid/cache 2>/dev/null || true
+@unexec rmdir %D/squid/logs 2>/dev/null || true
+@unexec rmdir %D/squid 2>/dev/null || true
OpenPOWER on IntegriCloud