Add debconf to inform the user of the necessity of port forwarding.
[quix0rs-apt-p2p.git] / debian / postinst
index 24147f26f0839f87f74aa23642a9b5ec002c2033..e167c41fc90bbe7b6473d83e6a94d64890f38366 100644 (file)
@@ -5,6 +5,8 @@
 
 set -e
 
+. /usr/share/debconf/confmodule
+
 # summary of how this script can be called:
 #        * <postinst> `configure' <most-recently-configured-version>
 #        * <old-postinst> `abort-upgrade' <new version>
@@ -47,6 +49,9 @@ case "$1" in
     ;;
 esac
 
+# Tell debconf to stop so it doesn't get confused
+db_stop
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.