diff options
Diffstat (limited to 'ftp/horde-gollem/files/pkg-deinstall.in')
-rw-r--r-- | ftp/horde-gollem/files/pkg-deinstall.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ftp/horde-gollem/files/pkg-deinstall.in b/ftp/horde-gollem/files/pkg-deinstall.in index 5c399f4c3632..74ba43ea36c6 100644 --- a/ftp/horde-gollem/files/pkg-deinstall.in +++ b/ftp/horde-gollem/files/pkg-deinstall.in @@ -12,13 +12,10 @@ if [ -z "${PACKAGE_BUILDING}" ]; then for cf in `ls %%GOLLEMDIR%%/config/*php`; do diff -bBqw $cf $cf.dist >/dev/null 2>&1 case $? in - 0) # original config file, will be deleted by pkg-plist + 0) # original config file, delete it + rm -f $cf ;; - 1) # config file has been updated, must be backuped - cp -p $cf $cf.previous - echo "===> Backing-up..." - echo "---> $cf has been saved ***" - echo "---> as $cf.previous ***" + 1) # config file has been updated, leave it alone ;; *) # not found? ;; |