diff options
| author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-03-13 14:34:05 +0000 |
|---|---|---|
| committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-03-13 14:34:05 +0000 |
| commit | edbd395b42778fe3d7d0dff615b13fb826706053 (patch) | |
| tree | 09faa3f1c4edb12a38e10331d0eb9a9b2276df20 /www/squid31 | |
| parent | de3cf9242cc4608a86dc3271d44d6f88c55120ef (diff) | |
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 78971cf73940..ba5a312069c2 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 |
