X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=30f95440f4d438c9f8dd141ed31f6c44f7d3855c;hb=refs%2Ftags%2Fdebian%2F7.0.3;hp=c842623ce85b928e34b3f7aa043241da6f3241a7;hpb=5f036916301c4945f0fec64ea7722cd096abadac;p=carnet-debian.git diff --git a/debian/postinst b/debian/postinst index c842623..30f9544 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,5 +4,12 @@ set -e [ "$1" = "configure" ] || exit 0 -echo "CN: You can run for install CARNet Debian packages:" -echo "CN: # install-carnet-debian" +# Always show dialogs from postinst +# unless this is a fresh install (dialogs already show by preconfigure) +[ "$2" ] && export CN_POSTINST=1 + +# Load debconf +. /usr/share/debconf/confmodule +db_version 2.0 + +#DEBHELPER#