aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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