X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=589daf7dd23ed7cb90c49af5ca302eff7f74b8cd;hb=a5f68994bf2bc448ee8b279d0defc22a8d8351ac;hp=18aba4529e85bbf64d631afe9f0f5c9773ad09c1;hpb=6f16a791600624706880580563bfd764d7562ecf;p=carnet-upgrade.git diff --git a/debian/postinst b/debian/postinst index 18aba45..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 4.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