blob: 8277aa19805ccfa542bac473c6fdfcf5b17cc4d0 (
plain) (
tree)
|
|
#!/bin/sh
# Try to restore httpd.conf when deinstalling Horde
if [ x$2 != xDEINSTALL ]; then
exit
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
fi
|