diff options
author | steve <steve@FreeBSD.org> | 2001-12-03 10:40:12 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-12-03 10:40:12 +0800 |
commit | 83a9841a7c0a8ef8482c99fe0cbf8ddf39141095 (patch) | |
tree | 178b685e1b4d4b9d7d4f9fb422d04fd4c1ea085e /mail/turba/pkg-deinstall | |
parent | dc80b5a0a44103f1c0955780b95e96e470373be3 (diff) | |
download | freebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.tar.gz freebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.tar.zst freebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.zip |
Adding turba version 1.0.
The Horde contact management application.
PR: 32089, 32152
Submitted by: Thierry Thomas <thierry@thomas.as>
Diffstat (limited to 'mail/turba/pkg-deinstall')
-rw-r--r-- | mail/turba/pkg-deinstall | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/turba/pkg-deinstall b/mail/turba/pkg-deinstall new file mode 100644 index 000000000000..da0aafe5b418 --- /dev/null +++ b/mail/turba/pkg-deinstall @@ -0,0 +1,12 @@ +#!/bin/sh +# Try to restore httpd.conf when deinstalling Turba + +if [ x$2 != xDEINSTALL ]; then + exit +fi + +if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ] ; then + echo "Restoring httpd.conf..." + cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstTurba + mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ${PKG_PREFIX}/etc/apache/httpd.conf +fi |