* ask questions on install too
authorWilfried Göesgens <willi@citadel.org>
Tue, 30 Jan 2007 23:04:01 +0000 (23:04 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 30 Jan 2007 23:04:01 +0000 (23:04 +0000)
* create user more acurate
* added this to changelog.

citadel/debian/changelog
citadel/debian/citadel-common.dirs
citadel/debian/citadel-common.postinst
citadel/debian/citadel-server.config

index 580d1478e29abc52da60a21081164fb7f08b019e..c5bb779e0a75301d4a125d5599889762a9b5af02 100644 (file)
@@ -1,3 +1,10 @@
+citadel (7.03-3) unstable; urgency=low
+       
+  * create user without error messages in  citadel-common
+  * ask our questions on login.
+
+ -- Wilfried Goesgens <citadel@outgesourced.org>  Fri, 05 Jan 2007 00:12:00 +0100
+
 citadel (7.03-2) unstable; urgency=low
        
   * corrected locating chkpwd
index 3488215efda1e64590b2986e23a0bb91363d4d14..c98ea1f7fd60677357edf35b7ab1a258c7ee5e9c 100644 (file)
@@ -1 +1,2 @@
-etc/citadel
\ No newline at end of file
+etc/citadel
+var/lib/citadel
\ No newline at end of file
index 37c560c0f6ad1020b78b98b2c57d474cdbee5f5f..30e9104c9bd27bcf3893dc32ca2a516ac0b49570 100644 (file)
@@ -15,7 +15,7 @@ case "$1" in
         if ! getent passwd citadel >/dev/null; then 
             adduser --system --ingroup citadel --home /var/lib/citadel \
                     --gecos "Citadel system user" --shell /bin/sh \
-                    --disabled-password citadel
+                    --disabled-password --no-create-home citadel --shell /bin/false
         fi
 
         chown -R citadel:citadel /etc/citadel
index 15bf6b58b71b2aa536391958da46a8f72da28ba4..390e0c335c9b4ad20cd02fd4547b25d1adaaa9ec 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 set -e
 
 # source debconf stuff
@@ -16,6 +15,14 @@ if test -n "$2"; then
         db_input high citadel/Installnote
         db_go
     fi
+else 
+    if test "$1" = "configure"; 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