Maknut aptitude i apt-get
[carnet-debian.git] / debian / postinst
index 386c10c..30f9544 100755 (executable)
@@ -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#