From 40a3261d1a6e2617f6afde0cd6d762a7e211af7a Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Sun, 16 Oct 2005 07:41:55 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'. --- mail/horde-imp/pkg-deinstall | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 mail/horde-imp/pkg-deinstall (limited to 'mail/horde-imp/pkg-deinstall') diff --git a/mail/horde-imp/pkg-deinstall b/mail/horde-imp/pkg-deinstall deleted file mode 100644 index cd0aa1e6c6c5..000000000000 --- a/mail/horde-imp/pkg-deinstall +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Backup IMP config files, if needed. - -if [ x$2 != xDEINSTALL ]; then - exit -fi - -if [ -z "${PACKAGE_BUILDING}" ]; then - for cf in `ls ${PKG_PREFIX}/www/horde/imp/config/*php ${PKG_PREFIX}/www/horde/imp/config/*txt`; do - diff -bBqw $cf $cf.dist >/dev/null 2>&1 - case $? in - 0) # original config file, will be deleted by pkg-plist - ;; - 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 ***" - ;; - *) # not found? - ;; - esac - done -fi -- cgit v1.2.3