diff --git a/debian/linkchecker.postinst b/debian/linkchecker.postinst index 4a1e775b..901fd8c7 100755 --- a/debian/linkchecker.postinst +++ b/debian/linkchecker.postinst @@ -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