X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=debian%2Froundcube-core.postrm;h=6659a77323de7f8f232ee8043f09ff70fbfdd33f;hb=9d358bb749203c1c4cb278a01e51f79754aa643a;hp=ae7bbd949ef59f62d46a6d42bf7317210298da42;hpb=d67919fd0c7962fb1d252bb3450fa9b8339b5a4e;p=roundcube.git diff --git a/debian/roundcube-core.postrm b/debian/roundcube-core.postrm index ae7bbd9..6659a77 100644 --- a/debian/roundcube-core.postrm +++ b/debian/roundcube-core.postrm @@ -19,7 +19,7 @@ lighttpd_remove() { if [ ! -x /usr/sbin/lighty-disable-mod ] ; then echo "Lighttpd not installed, skipping" else - /usr/sbin/lighty-disable-mod roundcube + lighty-disable-mod roundcube fi # See bug #448682 if [ -h /etc/lighttpd/conf-enabled/50-roundcube.conf ] ; then @@ -73,10 +73,12 @@ case "$1" in if [ "$res" = "true" ]; then for webserver in $restart; do webserver=${webserver%,} + # Redirection of 3 is needed because Debconf uses it and it might + # be inherited by webserver. See bug #446324. if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d $webserver restart + invoke-rc.d $webserver reload 3>/dev/null || true else - /etc/init.d/$webserver restart + /etc/init.d/$webserver reload 3>/dev/null || true fi done fi