1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/mail/qsheff/pkg-plist
Edwin Groothuis 0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00

26 lines
1.2 KiB
Plaintext

@comment $FreeBSD$
bin/qsheff
@unexec if cmp -s %D/etc/qsheff/qsheff.attach %D/etc/qsheff/qsheff.attach-default; then rm -f %D/etc/qsheff/qsheff.attach; fi
etc/qsheff/qsheff.attach-default
@exec [ -f %B/qsheff.attach ] || cp %B/%f %B/qsheff.attach
@unexec if cmp -s %D/etc/qsheff/qsheff.conf %D/etc/qsheff/qsheff.conf-default; then rm -f %D/etc/qsheff/qsheff.conf; fi
etc/qsheff/qsheff.conf-default
@unexec if cmp -s %D/etc/qsheff/qsheff.rules %D/etc/qsheff/qsheff.rules-default; then rm -f %D/etc/qsheff/qsheff.rules; fi
etc/qsheff/qsheff.rules-default
@exec [ -f %B/qsheff.rules ] || cp %B/%f %B/qsheff.attach
@unexec if cmp -s %D/etc/qsheff/qsheff.wblist %D/etc/qsheff/qsheff.wblist-default; then rm -f %D/etc/qsheff/qsheff.wblist; fi
etc/qsheff/qsheff.wblist-default
@exec [ -f %B/qsheff.wblist ] || cp %B/%f %B/qsheff.attach
etc/qsheff/install-wrapper.sh
etc/qsheff/uninstall-wrapper.sh
%%DATADIR%%/developer.notes
%%DATADIR%%/eicar.com.txt
%%DATADIR%%/sample-OK.msg
%%DATADIR%%/sample-SPAM.msg
%%DATADIR%%/sample-VIRUS.msg
@dirrmtry etc/qsheff
@dirrm %%DATADIR%%
@unexec echo
@unexec echo "Type '%%PREFIX%%/etc/qsheff/uninstall-wrapper.sh' to uninstall qSheff completely."
@unexec echo