diff options
author | flz <flz@FreeBSD.org> | 2005-03-11 01:15:30 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-03-11 01:15:30 +0800 |
commit | a18f399cf813eb323d190d9a4cf53e5485615aa3 (patch) | |
tree | bbc3634a53a5e97bb53c145d0fefc6fb598ef25c /security | |
parent | 52159fed8d82d9046f849c5b23e6808c3a3f1e8b (diff) | |
download | freebsd-ports-gnome-a18f399cf813eb323d190d9a4cf53e5485615aa3.tar.gz freebsd-ports-gnome-a18f399cf813eb323d190d9a4cf53e5485615aa3.tar.zst freebsd-ports-gnome-a18f399cf813eb323d190d9a4cf53e5485615aa3.zip |
- Fix packing list.
PR: ports/77073
Submitted by: flz
Approved by: pav (mentor), maintainer timeout (1 month)
Diffstat (limited to 'security')
-rw-r--r-- | security/fwanalog/pkg-plist | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/security/fwanalog/pkg-plist b/security/fwanalog/pkg-plist index 8e95f1bbd1f8..37f2acaa1dde 100644 --- a/security/fwanalog/pkg-plist +++ b/security/fwanalog/pkg-plist @@ -1,10 +1,22 @@ sbin/fwanalog +@unexec if cmp -s %D/etc/fwanalog/fwanalog-dom.tab %D/etc/fwanalog/fwanalog-dom.tab-dist; then rm -f %D/etc/fwanalog/fwanalog-dom.tab; fi etc/fwanalog/fwanalog-dom.tab-dist +@exec [ -f %B/fwanalog-dom.tab ] || cp %B/%f %B/fwanalog-dom.tab +@unexec if cmp -s %D/etc/fwanalog/fwanalog.analog.conf %D/etc/fwanalog/fwanalog.analog.conf-dist; then rm -f %D/etc/fwanalog/fwanalog.analog.conf; fi etc/fwanalog/fwanalog.analog.conf-dist +@exec [ -f %B/fwanalog.analog.conf ] || cp %B/%f %B/fwanalog.analog.conf +@unexec if cmp -s %D/etc/fwanalog/fwanalog.analog.conf.local %D/etc/fwanalog/fwanalog.analog.conf.local-dist; then rm -f %D/etc/fwanalog/fwanalog.analog.conf.local; fi etc/fwanalog/fwanalog.analog.conf.local-dist +@exec [ -f %B/fwanalog.analog.conf.local ] || cp %B/%f %B/fwanalog.analog.conf.local +@unexec if cmp -s %D/etc/fwanalog/fwanalog.lng %D/etc/fwanalog/fwanalog.lng-dist; then rm -f %D/etc/fwanalog/fwanalog.lng; fi etc/fwanalog/fwanalog.lng-dist +@exec [ -f %B/fwanalog.lng ] || cp %B/%f %B/fwanalog.lng +@unexec if cmp -s %D/etc/fwanalog/fwanalog.opts %D/etc/fwanalog/fwanalog.opts-dist; then rm -f %D/etc/fwanalog/fwanalog.opts; fi etc/fwanalog/fwanalog.opts-dist +@exec [ -f %B/fwanalog.opts ] || cp %B/%f %B/fwanalog.opts +@unexec if cmp -s %D/etc/fwanalog/services.conf %D/etc/fwanalog/services.conf-dist; then rm -f %D/etc/fwanalog/services.conf; fi etc/fwanalog/services.conf-dist +@exec [ -f %B/services.conf ] || cp %B/%f %B/services.conf %%PORTDOCS%%share/doc/fwanalog/README %%PORTDOCS%%@dirrm share/doc/fwanalog -@unexec echo If permanently deleting this package, %%ETCDIR%%/fwanalog must be removed manually +@unexec rmdir %D/etc/fwanalog 2> /dev/null || echo If permanently deleting this package, %%ETCDIR%%/fwanalog must be removed manually |