From b075d0e0cc099a969b9a1d96398e92d28a7d4507 Mon Sep 17 00:00:00 2001 From: olgeni Date: Tue, 13 Mar 2001 14:34:05 +0000 Subject: Try to remove ${LOCALBASE}/squid at deinstall time, if it is empty. Reported by: bento logs --- www/squid31/pkg-plist | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/squid31') 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 -- cgit v1.1