diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-06-05 14:05:49 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-06-05 14:05:49 +0800 |
commit | 29e6c98f036cc6f2dd56ce20d5b67b26a98de76c (patch) | |
tree | 787a846c4a1c4016cb00b7fb5ef7124bca6eb8c8 /irc | |
parent | df08a62953355ec3b8cdbba3155abe855c83c4fb (diff) | |
download | freebsd-ports-gnome-29e6c98f036cc6f2dd56ce20d5b67b26a98de76c.tar.gz freebsd-ports-gnome-29e6c98f036cc6f2dd56ce20d5b67b26a98de76c.tar.zst freebsd-ports-gnome-29e6c98f036cc6f2dd56ce20d5b67b26a98de76c.zip |
Remove config file if it hasn't changed from the default
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ezbounce-devel/pkg-plist | 1 | ||||
-rw-r--r-- | irc/ezbounce/pkg-plist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/irc/ezbounce-devel/pkg-plist b/irc/ezbounce-devel/pkg-plist index 279b62dacbe8..4874fcf50161 100644 --- a/irc/ezbounce-devel/pkg-plist +++ b/irc/ezbounce-devel/pkg-plist @@ -1,4 +1,5 @@ sbin/ezbounce sbin/mdidentd +@unexec if [ -f %D/etc/ezbounce.conf ] && cmp -s %D/etc/ezbounce.conf %D/etc/ezbounce.conf.default; then rm -f %D/etc/ezbounce.conf; fi etc/ezbounce.conf.default @exec if [ ! -f %D/etc/ezbounce.conf ] ; then cp -p %D/%F %B/ezbounce.conf; fi diff --git a/irc/ezbounce/pkg-plist b/irc/ezbounce/pkg-plist index 279b62dacbe8..4874fcf50161 100644 --- a/irc/ezbounce/pkg-plist +++ b/irc/ezbounce/pkg-plist @@ -1,4 +1,5 @@ sbin/ezbounce sbin/mdidentd +@unexec if [ -f %D/etc/ezbounce.conf ] && cmp -s %D/etc/ezbounce.conf %D/etc/ezbounce.conf.default; then rm -f %D/etc/ezbounce.conf; fi etc/ezbounce.conf.default @exec if [ ! -f %D/etc/ezbounce.conf ] ; then cp -p %D/%F %B/ezbounce.conf; fi |