aboutsummaryrefslogtreecommitdiff
path: root/www/horde-devel/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'www/horde-devel/pkg-deinstall')
-rw-r--r--www/horde-devel/pkg-deinstall3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/horde-devel/pkg-deinstall b/www/horde-devel/pkg-deinstall
index 8277aa19805c..6a75b26f7a23 100644
--- a/www/horde-devel/pkg-deinstall
+++ b/www/horde-devel/pkg-deinstall
@@ -8,5 +8,6 @@ fi
if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeHorde ] ; then
echo "Restoring httpd.conf..."
cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstHorde
- mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeHorde ${PKG_PREFIX}/etc/apache/httpd.conf
+ perl -pi -e "s:Include ${PKG_PREFIX}/etc/horde:# Include ${PKG_PREFIX}/etc/horde:g" \
+ ${PKG_PREFIX}/etc/apache/httpd.conf
fi