From f604168862051297913cf0b799cbdb9138550d45 Mon Sep 17 00:00:00 2001
From: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Date: Wed, 26 Aug 2009 15:05:04 +0200
Subject: [PATCH] Display installation notice for new distribution.

---
 debian/postinst |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 24b56c7..3981790 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -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
-- 
1.7.10.4