]> code.citadel.org Git - citadel.git/blobdiff - citadel/debian/citadel-server.config
* some cleanup and debian code beautification (tab/space/indentation)
[citadel.git] / citadel / debian / citadel-server.config
index 21049ce90d7e67258110e141aa678ad7dae8e0b7..15bf6b58b71b2aa536391958da46a8f72da28ba4 100755 (executable)
@@ -1,15 +1,21 @@
 #!/bin/sh
+
 set -e
 
+# source debconf stuff
 . /usr/share/debconf/confmodule
+db_version 2.0
+
 if test -n "$2"; then
- if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
-         -o $1 = reconfigure
- then
-        db_input high citadel/ServerIPAddress
-        db_input high citadel/Administrator
-        db_input high citadel/Installnote
-        db_go
- fi
+    if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
+        -o $1 = reconfigure
+    then
+        db_input high citadel/ServerIPAddress
+        db_input high citadel/Administrator
+        db_input high citadel/LoginType
+        db_input high citadel/Installnote
+        db_go
+    fi
 fi
+
 exit 0