X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fconfig;fp=debian%2Fconfig;h=682051e010d05c31274124ee86b6045670f06efd;hb=2ca0dbd0c6c05c77ff6b438ac1183c609c36caa6;hp=0000000000000000000000000000000000000000;hpb=bd6e63dd7803fb0eed748605a2bd3aeb20d7040b;p=carnet-upgrade.git diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..682051e --- /dev/null +++ b/debian/config @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +# Load debconf +. /usr/share/debconf/confmodule +db_version 2.0 + +# Show dialogs if started from postinst +if [ "$CN_POSTINST" ]; then + rm -f /var/lib/carnet-upgrade/debconf-priority 2>/dev/null + rm -f /var/lib/carnet-upgrade/check-services 2>/dev/null + + # display installation notice for new version + db_fset carnet-upgrade/short-instructions seen false + db_input high carnet-upgrade/short-instructions || true +fi + +db_go || true +db_stop || true