aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-scanner
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-02-28 12:02:10 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-02-28 12:02:10 +0000
commit2e7775777bf08addd7e9c8d8fcf34cad2f9fb673 (patch)
treef4b45e570ba49c951b7bfcebc22ade2e840055fe /mail/qmail-scanner
parentd37aec903746b40c188586e2b8b8964fed702501 (diff)
downloadports-2e7775777bf08addd7e9c8d8fcf34cad2f9fb673.tar.gz
ports-2e7775777bf08addd7e9c8d8fcf34cad2f9fb673.zip
- Preserve customized quarantine-attachments.txt at de-installation
or upgrade: delete it only if it has not been changed from the supplied sample file PR: ports/77639 Submitted by: Renato Botelho <renato@galle.com.br> Approved by: Clement Moulin (maintainer)
Notes
Notes: svn path=/head/; revision=130006
Diffstat (limited to 'mail/qmail-scanner')
-rw-r--r--mail/qmail-scanner/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/qmail-scanner/pkg-plist b/mail/qmail-scanner/pkg-plist
index 088ee682eb54..4eaf88befb04 100644
--- a/mail/qmail-scanner/pkg-plist
+++ b/mail/qmail-scanner/pkg-plist
@@ -3,7 +3,7 @@ bin/qmail-scanner-queue.pl
bin/qs2mrtg.pl
share/examples/qs2mrtg/mrtg-qmail-scanner.cfg
%%SPOOLDIR%%/quarantine-attachments.sample
-%%SPOOLDIR%%/quarantine-attachments.txt
+@unexec if cmp -s %%SPOOLDIR%%/quarantine-attachments.txt %%SPOOLDIR%%/quarantine-attachments.sample; then rm -f %%SPOOLDIR%%/quarantine-attachments.txt; fi
@unexec rmdir share/examples/qs2mrtg 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/archives/cur 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/archives/new 2>/dev/null || true