From: Ivan Rako Date: Wed, 18 Jul 2018 13:14:19 +0000 (+0200) Subject: izmjene u postinstu X-Git-Tag: debian/2.4.25_cn0~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=apache2-cn.git;a=commitdiff_plain;h=01292feb10ab9abeb7955f5108458c7d786452ec izmjene u postinstu --- 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"