From 684a2828b853422b1700e47139a1d75a872f646d Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Sun, 15 Jul 2018 00:00:38 +0200 Subject: [PATCH] izmjene u postinstu --- debian/postinst | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/debian/postinst b/debian/postinst index 1a86e14..2b22637 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,33 +1,11 @@ #!/bin/sh -# postinst script for bind9-cn -# -# see: dh_installdeb(1) set -e -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure|reconfigure) - # continue below - ;; - - *) - exit 0 - ;; -esac - -# import CN-functions +[ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx + +# Load CARNet Tools . /usr/share/carnet-tools/functions.sh echo "CN: Making sample configurations in /usr/share/doc/bind9-cn/examples" -- 1.7.10.4