Display installation notice for new distribution.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 26 Aug 2009 13:05:04 +0000 (15:05 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 26 Aug 2009 13:05:04 +0000 (15:05 +0200)
debian/postinst

index 24b56c7..3981790 100644 (file)
@@ -38,11 +38,12 @@ if [ "$1" = "configure" ] && [ -e /usr/share/debconf/confmodule ]; then
     if dpkg --compare-versions "$2" lt 5.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