mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-01 05:30:26 +00:00
Do not fail on Apache2 configuration errors in postinst.
This commit is contained in:
parent
719a57adde
commit
d6b9dc904f
1 changed files with 1 additions and 5 deletions
6
debian/linkchecker.postinst
vendored
6
debian/linkchecker.postinst
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue