From: cajus Date: Mon, 1 Sep 2008 06:37:25 +0000 (+0000) Subject: Added check for plain file. Closes #541 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=59a837dca26c05835c2b3c2a3ed276e2734b6031;p=gosa.git Added check for plain file. Closes #541 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12313 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/gosa.postinst b/gosa-core/debian/gosa.postinst index e68ba154e..edc68e818 100644 --- a/gosa-core/debian/gosa.postinst +++ b/gosa-core/debian/gosa.postinst @@ -32,6 +32,14 @@ fi # Copy GOsa configuration to conf.d directories if [ ! -L /etc/apache2/conf.d/gosa.conf ]; then + + # Remove old instances of this file + if [ -f /etc/apache2/conf.d/gosa.conf ]; then + echo "Found old gosa apache configuration in /etc/apache2/conf.d - moving it to gosa.conf.orig..." + echo "Please check for changes in /etc/gosa/gosa-apache.conf if you modified this file!" + mv /etc/apache2/conf.d/gosa.conf /etc/apache2/conf.d/gosa.conf.orig + fi + echo "Making /gosa available in /etc/apache2/conf.d" # Add GOsa include file