linkchecker/debian/linkchecker-web.postinst
2012-04-18 21:53:04 +02:00

22 lines
403 B
Bash

#!/bin/sh -e
# postinst script for linkchecker-web
#
# see: dh_installdeb(1)
case "$1" in
configure|reconfigure|abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
# reload apache configuration
if [ "$1" = "configure" -a -x /etc/init.d/apache2 ]; then
invoke-rc.d apache2 reload || true
fi
exit 0