aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid24/pkg-plist
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-03-13 22:34:05 +0800
committerolgeni <olgeni@FreeBSD.org>2001-03-13 22:34:05 +0800
commitb075d0e0cc099a969b9a1d96398e92d28a7d4507 (patch)
tree39e17d24fccfc8924ed86692ca86cd7662d03ca6 /www/squid24/pkg-plist
parent26b0217fe47352de09ad7432b1545f24ab890c12 (diff)
downloadfreebsd-ports-gnome-b075d0e0cc099a969b9a1d96398e92d28a7d4507.tar.gz
freebsd-ports-gnome-b075d0e0cc099a969b9a1d96398e92d28a7d4507.tar.zst
freebsd-ports-gnome-b075d0e0cc099a969b9a1d96398e92d28a7d4507.zip
Try to remove ${LOCALBASE}/squid at deinstall time, if it is empty.
Reported by: bento logs
Diffstat (limited to 'www/squid24/pkg-plist')
-rw-r--r--www/squid24/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/squid24/pkg-plist b/www/squid24/pkg-plist
index 78971cf73940..ba5a312069c2 100644
--- a/www/squid24/pkg-plist
+++ b/www/squid24/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