X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=425e879af282ed063772baf2d35cb40fe7d6e2c7;hb=07d9e09b71b6d96a1c6f0f308ec0e99d38cf7508;hp=c6acc8a31c82033be25fb8fcbfeeae56b1f9aaeb;hpb=21e24934a032698b5b6e363971baeb44589da2d9;p=kernel-cn.git diff --git a/debian/postinst b/debian/postinst index c6acc8a..425e879 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,36 +1,14 @@ #!/bin/sh -# postinst script for kernel-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 - -# Source debconf library. +[ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx + +# Load Debconf . /usr/share/debconf/confmodule -# import CN-functions +# import CARNet Tools . /usr/share/carnet-tools/functions.sh # import GRUB helper functions