diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-03-13 14:34:05 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-03-13 14:34:05 +0000 |
commit | b075d0e0cc099a969b9a1d96398e92d28a7d4507 (patch) | |
tree | 39e17d24fccfc8924ed86692ca86cd7662d03ca6 /www/squid31 | |
parent | 26b0217fe47352de09ad7432b1545f24ab890c12 (diff) | |
download | FreeBSD-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/squid31')
-rw-r--r-- | www/squid31/pkg-plist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/squid31/pkg-plist b/www/squid31/pkg-plist index 78971cf..ba5a312 100644 --- a/www/squid31/pkg-plist +++ b/www/squid31/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 |