Remove config file if it hasn't changed from the default

This commit is contained in:
Chris Piazza 2000-06-05 06:05:49 +00:00
parent 683f6c09cc
commit abe150c11b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29204
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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