freebsd-ports/mail/qmail-scanner1/pkg-plist
Sergei Kolobov 2e7775777b - 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)
2005-02-28 12:02:10 +00:00

18 lines
942 B
Plaintext

@comment $FreeBSD$
bin/qmail-scanner-queue.pl
bin/qs2mrtg.pl
share/examples/qs2mrtg/mrtg-qmail-scanner.cfg
%%SPOOLDIR%%/quarantine-attachments.sample
@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
@unexec rmdir %%SPOOLDIR%%/archives/tmp 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/archives 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/quarantine/cur 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/quarantine/new 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/quarantine/tmp 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/quarantine 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%%/tmp 2>/dev/null || true
@unexec rmdir %%SPOOLDIR%% 2>/dev/null || true