postinst: toujours relancer authentic2

This commit is contained in:
Thomas NOËL 2014-12-05 17:34:35 +01:00
parent 6d7c84356a
commit 2e63c1e781
1 changed files with 3 additions and 3 deletions

View File

@ -9,18 +9,18 @@ if [ -r /etc/authentic2/supann.conf ]; then
. /etc/authentic2/supann.conf
fi
EODEFAULT
invoke-rc.d authentic2 restart
}
case "$1" in
configure)
configure|reconfigure)
if [ ! -f /etc/default/authentic2 ]; then
add_supann_in_default
elif ! grep -q supann.conf /etc/default/authentic2 2> /dev/null; then
add_supann_in_default
fi
invoke-rc.d authentic2 restart
;;
reconfigure|abort-upgrade|abort-remove|abort-deconfigure)
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2