diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-06-05 06:05:49 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-06-05 06:05:49 +0000 |
commit | 29e6c98f036cc6f2dd56ce20d5b67b26a98de76c (patch) | |
tree | 787a846c4a1c4016cb00b7fb5ef7124bca6eb8c8 /irc/ezbounce | |
parent | df08a62953355ec3b8cdbba3155abe855c83c4fb (diff) | |
download | FreeBSD-ports-29e6c98f036cc6f2dd56ce20d5b67b26a98de76c.zip FreeBSD-ports-29e6c98f036cc6f2dd56ce20d5b67b26a98de76c.tar.gz |
Remove config file if it hasn't changed from the default
Diffstat (limited to 'irc/ezbounce')
-rw-r--r-- | irc/ezbounce/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/irc/ezbounce/pkg-plist b/irc/ezbounce/pkg-plist index 279b62d..4874fcf 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 |