Do not fail on Apache2 configuration errors in postinst.

This commit is contained in:
Bastian Kleineidam 2012-03-31 14:14:14 +02:00
parent 719a57adde
commit d6b9dc904f

View file

@ -30,11 +30,7 @@ dpkg-maintscript-helper rm_conffile /etc/linkchecker/logging.conf 7.3 -- "$@"
# reload apache configuration
if [ "$1" = "configure" -a -x /etc/init.d/apache2 ]; then
if [ -x /usr/sbin/invoke-rc.d ]; then
/usr/sbin/invoke-rc.d apache2 reload
else
/etc/init.d/apache2 reload
fi
/usr/sbin/invoke-rc.d apache2 reload || true
fi
exit 0