X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=apache2-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=cd51a84f0e56a5a3446ff836a22dcb848a07939d;hp=0743729bbd577145b6ccb8af0124d044732471fa;hb=01292feb10ab9abeb7955f5108458c7d786452ec;hpb=365f11856406003fd89b0cbe6095dd076772e849 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"