X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=30f95440f4d438c9f8dd141ed31f6c44f7d3855c;hb=19b9f05e867495d51f5a34eea287d593eaf1de6e;hp=386c10ce94223c80f6471a877ca914810ba0b1c8;hpb=e21e7d65aca21e73ac4c47879244edd16833c503;p=carnet-debian.git diff --git a/debian/postinst b/debian/postinst index 386c10c..30f9544 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,17 +4,12 @@ set -e [ "$1" = "configure" ] || exit 0 +# 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 -db_fset carnet-debian/packages seen false -db_go || true -db_input critical carnet-debian/packages || true - -db_fset carnet-debian/note seen false -db_go || true -db_input critical carnet-debian/note || true - -db_go || true -db_stop || true +#DEBHELPER#