diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-06-05 06:05:49 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-06-05 06:05:49 +0000 |
commit | abe150c11b9bd9359403b25df930714ccd399966 (patch) | |
tree | 08f47d520d664932f013b520d868ed7854187e73 /irc/ezbounce-devel | |
parent | Remove directories on deinstall (diff) |
Remove config file if it hasn't changed from the default
Notes
Notes:
svn path=/head/; revision=29204
Diffstat (limited to 'irc/ezbounce-devel')
-rw-r--r-- | irc/ezbounce-devel/pkg-plist | 1 |
1 files changed, 1 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 |