diff debian/config @ 395:056d5fcb7f4b noffle

[svn] updated deb'configuration
author godisch
date Thu, 29 May 2003 15:44:56 +0100
parents 36296f2b60e6
children e144202d2d96
line wrap: on
line diff
--- a/debian/config	Sat May 24 19:48:30 2003 +0100
+++ b/debian/config	Thu May 29 15:44:56 2003 +0100
@@ -1,11 +1,19 @@
 #!/bin/sh
-# $Id: config 503 2003-03-29 08:06:12Z godisch $
+# $Id: config 537 2003-05-29 14:44:56Z godisch $
 
 set -e
 . /usr/share/debconf/confmodule
 db_version 2.0
 db_capb backup
 
+# are we using debconf?
+db_input high noffle/debconf && db_go || :
+db_get noffle/debconf
+if [ "$RET" = false ]; then
+	db_stop
+	exit 0
+fi
+
 server_config=/etc/news/noffle.conf
 debian_config=/etc/default/noffle
 
@@ -19,14 +27,6 @@
 	debian_config=/etc/noffle/conf.debian
 fi
 
-# are we using debconf?
-db_input high noffle/debconf && db_go || :
-db_get noffle/debconf
-if [ "$RET" = false ]; then
-	db_stop
-	exit 0
-fi
-
 # read server port value from inetd.conf
 port="`grep '[[:space:]]/usr/bin/noffle[[:space:]]' /etc/inetd.conf | head -n 1 | sed 's/^#<off># //;s/[[:space:]].*//' 2> /dev/null`" || :
 if [ "$port" ]; then