aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-07-01 23:06:19 +0800
committerpav <pav@FreeBSD.org>2007-07-01 23:06:19 +0800
commitf9f308aa6ee1c718fe0b87aa462cec0ad47c148e (patch)
treedb7055cabb3b4e1987de4a7fddb1e989f9ddd94c /mail
parent3fae3e55503f4a155ffc1fddbb23fcb1f65a12b2 (diff)
downloadfreebsd-ports-gnome-f9f308aa6ee1c718fe0b87aa462cec0ad47c148e.tar.gz
freebsd-ports-gnome-f9f308aa6ee1c718fe0b87aa462cec0ad47c148e.tar.zst
freebsd-ports-gnome-f9f308aa6ee1c718fe0b87aa462cec0ad47c148e.zip
- Stop wiping out /var/lib on deinstall
PR: ports/114186 Submitted by: Henrik Olsen <henrik@iaeste.dk> With hat: portmgr
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-SpamAssassin/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/p5-Mail-SpamAssassin/pkg-plist b/mail/p5-Mail-SpamAssassin/pkg-plist
index 99518266f5c2..cbc9b1788990 100644
--- a/mail/p5-Mail-SpamAssassin/pkg-plist
+++ b/mail/p5-Mail-SpamAssassin/pkg-plist
@@ -171,7 +171,7 @@ etc/mail/spamassassin/v320.pre.sample
%%DATADIR%%/user_prefs.template
@unexec rm -rf %D/libdata/spamassassin || true
@unexec rm -rf /var/lib/spamassassin || true
-@unexec rm -rf /var/lib || true
+@unexec rmdir /var/lib 2>/dev/null || true
@dirrm %%DATADIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail