From 01292feb10ab9abeb7955f5108458c7d786452ec Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Wed, 18 Jul 2018 15:14:19 +0200 Subject: [PATCH] izmjene u postinstu --- debian/postinst | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/debian/postinst b/debian/postinst index 0743729..cd51a84 100755 --- a/debian/postinst +++ b/debian/postinst @@ -2,28 +2,13 @@ set -e +[ "$1" = "configure" ] || exit 0 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx -# Source debconf library. +# Load Debconf . /usr/share/debconf/confmodule -case "$1" in - configure) - # continue below - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - exit 0 - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 0 - ;; -esac - - -# Include CARNet functions. +# Load CARNet Tools . /usr/share/carnet-tools/functions.sh PKG="apache2-cn" -- 1.7.10.4