summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2014-12-05 16:34:35 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2014-12-05 16:34:35 (GMT)
commit2e63c1e781af16cba486557fd6365821d40e8728 (patch)
tree3ed2386f090ff1043609e14119f662fae07e7353
parent6d7c84356ae5457ff7dedc9a9578dfe02915a1ba (diff)
downloadauthentic2-supann-2e63c1e781af16cba486557fd6365821d40e8728.zip
authentic2-supann-2e63c1e781af16cba486557fd6365821d40e8728.tar.gz
authentic2-supann-2e63c1e781af16cba486557fd6365821d40e8728.tar.bz2
postinst: toujours relancer authentic2
-rw-r--r--postinst6
1 files changed, 3 insertions, 3 deletions
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