* some cleanup and debian code beautification (tab/space/indentation)
[citadel.git] / citadel / debian / citadel-server.config
index ab1fa620721dacd5ac48965124fe3eaf50c4dbfd..15bf6b58b71b2aa536391958da46a8f72da28ba4 100755 (executable)
@@ -1,18 +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/LoginType
-        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