X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=589daf7dd23ed7cb90c49af5ca302eff7f74b8cd;hb=2c023c2132b166ffc24941cd2a7c35f182c2468e;hp=24b56c7e933b202cfc28ffbcd6154a457763e1f9;hpb=d4af6fecc0c42608c1e8f4a7803393d922276a73;p=carnet-upgrade.git diff --git a/debian/postinst b/debian/postinst index 24b56c7..589daf7 100644 --- a/debian/postinst +++ b/debian/postinst @@ -35,14 +35,15 @@ if [ "$1" = "configure" ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # clear old cached values - if dpkg --compare-versions "$2" lt 5.0; then + if dpkg --compare-versions "$2" lt 6.0; then db_set carnet-upgrade/debconf-priority "" db_set carnet-upgrade/check-services "" - fi - # display installation notice (since 4.0.3) - db_input high carnet-upgrade/short-instructions || true - db_go + # display installation notice for new version + db_fset carnet-upgrade/short-instructions seen false + db_input high carnet-upgrade/short-instructions || true + db_go + fi fi # dh_installdeb will replace this with shell code automatically