From e42000576cd0aee4e99796f20e64e8f96dad158d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 21 Jan 2015 17:08:20 +0100 Subject: [PATCH] Modifying the default file is now useless --- postinst | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/postinst b/postinst index 30a8d4e..62bbbfd 100644 --- a/postinst +++ b/postinst @@ -3,21 +3,8 @@ # Postinst script for authentic2-supann # -add_supann_in_default() { - cat << EODEFAULT >> /etc/default/authentic2 -if [ -r /etc/authentic2/supann.conf ]; then - . /etc/authentic2/supann.conf -fi -EODEFAULT -} - case "$1" in 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 ;; abort-upgrade|abort-remove|abort-deconfigure)