aboutsummaryrefslogtreecommitdiff
path: root/mail/horde-imp/pkg-deinstall
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /mail/horde-imp/pkg-deinstall
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
Notes
Diffstat (limited to 'mail/horde-imp/pkg-deinstall')
-rw-r--r--mail/horde-imp/pkg-deinstall27
1 files changed, 0 insertions, 27 deletions
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