| 1 |
#!/bin/sh |
| 2 |
# postinst script for linkchecker-web |
| 3 |
# |
| 4 |
# see: dh_installdeb(1) |
| 5 |
set -e |
| 6 |
|
| 7 |
case "$1" in |
| 8 |
configure|reconfigure|abort-upgrade|abort-remove|abort-deconfigure) |
| 9 |
;; |
| 10 |
*) |
| 11 |
echo "postinst called with unknown argument \`$1'" >&2 |
| 12 |
exit 1 |
| 13 |
;; |
| 14 |
esac |
| 15 |
|
| 16 |
#DEBHELPER# |
| 17 |
|
| 18 |
if [ "$1" = "configure" ]; then |
| 19 |
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then |
| 20 |
. /usr/share/apache2/apache2-maintscript-helper |
| 21 |
apache2_invoke enconf linkchecker-web.conf || exit $? |
| 22 |
fi |
| 23 |
fi |
| 24 |
|
| 25 |
exit 0 |