]> git.donarmstrong.com Git - roundcube.git/commitdiff
Restart webserver each time we run postinst since we don't know if the
authorVincent Bernat <bernat@luffy.cx>
Wed, 14 Mar 2007 20:37:40 +0000 (20:37 +0000)
committerVincent Bernat <bernat@luffy.cx>
Wed, 14 Mar 2007 20:37:40 +0000 (20:37 +0000)
config file has changed.

debian/postinst

index 841aae64ff9393f2259f9c3c830e87fa5ab30f50..1121d4686e8af0f767e78ce070b08872721d33e1 100644 (file)
@@ -52,9 +52,9 @@ case "$1" in
             test -x /usr/sbin/$webserver || continue
         
             if [ ! -f /etc/$webserver/conf.d/roundcube ] && [ ! -h /etc/$webserver/conf.d/roundcube ]; then
-            ln -s /etc/roundcube/apache.conf /etc/$webserver/conf.d/roundcube
+               ln -s /etc/roundcube/apache.conf /etc/$webserver/conf.d/roundcube
+            fi
             restart="$restart $webserver"
-        fi
         done
 
         db_get roundcube/restart-webserver || true