Maknut aptitude i apt-get
[carnet-debian.git] / debian / postinst
index c842623..30f9544 100755 (executable)
@@ -4,5 +4,12 @@ set -e
 
 [ "$1" = "configure" ] || exit 0
 
-echo "CN: You can run for install CARNet Debian packages:"
-echo "CN:   # install-carnet-debian"
+# 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
+
+#DEBHELPER#