* fixup @'s in usernames when doing smtpauth client
[citadel.git] / citadel / debian / citadel-server.config
1 #!/bin/sh
2 set -e
3
4 # source debconf stuff
5 . /usr/share/debconf/confmodule
6 db_version 2.0
7
8 if test -n "$2"; then
9     if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
10         -o $1 = reconfigure
11     then
12         db_input high citadel/ServerIPAddress || true
13         db_input high citadel/Administrator || true
14         db_input high citadel/LoginType || true
15         db_go
16     fi
17 else 
18     if test "$1" = "configure"; then
19         db_input high citadel/ServerIPAddress || true
20         db_input high citadel/Administrator || true
21         db_input high citadel/LoginType || true
22         db_input high citadel/Installnote || true
23         db_go
24     fi
25 fi
26
27 exit 0