postinst: toujours relancer authentic2
This commit is contained in:
parent
6d7c84356a
commit
2e63c1e781
6
postinst
6
postinst
|
@ -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
|
||||
|
|
Reference in New Issue