Code

Made installation script trigger on links
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 15:47:46 +0000 (15:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 15:47:46 +0000 (15:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10439 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/debian/gosa.install
gosa-core/debian/gosa.postinst

index 584eb2f913c03bded133cc76e030ee3c19c84f5f..fc1a0cfb71cf80af4788d534c9f82ed5d3637880 100644 (file)
@@ -7,6 +7,7 @@ plugins                         /usr/share/gosa
 setup                          /usr/share/gosa
 debian/overrides-linda         /usr/share/linda/overrides/gosa
 debian/overrides-lintian       /usr/share/lintian/overrides/gosa
+debian/gosa-apache.conf /etc/gosa
 contrib/shells                 /etc/gosa
 contrib/encodings              /etc/gosa
 contrib/openldap/slapd.conf    /usr/share/doc/gosa/slapd.conf-example
index c35f0958fc487ce5e429326c0ffdf10434cb0002..e68ba154e075b24b07a10506e0c81af0c4e1e7ad 100644 (file)
@@ -31,11 +31,11 @@ if [ ! -f /etc/gosa/gosa.secrets ]; then
 fi
 
 # Copy GOsa configuration to conf.d directories
-if [ ! -f /etc/apache2/conf.d/gosa.conf ]; then
+if [ ! -L /etc/apache2/conf.d/gosa.conf ]; then
   echo "Making /gosa available in /etc/apache2/conf.d"
 
   # Add GOsa include file
-  ln -s /etc/gosa/apache-gosa.conf /etc/apache2/conf.d/gosa.conf
+  ln -s /etc/gosa/gosa-apache.conf /etc/apache2/conf.d/gosa.conf
 fi
 
 # Add links for safe mode