diff --git a/postinst b/postinst index a6e4b62..30a8d4e 100644 --- a/postinst +++ b/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