3 .
/usr
/share
/debconf
/confmodule
12 # do we want to reconfigure?
13 if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
19 # are we in first install?
20 if test "$1" = "configure"; then
25 if test "$DO_CONFIGURE" = "yes"; then
26 if test -e /etc
/default
/webcit
; then
29 export WEBCIT_CITADEL_IP
=127.0.0.1
30 export WEBCIT_CITADEL_PORT
=504
34 while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
38 db_input high citadel
/WebcitApacheIntegration || true
42 db_get citadel
/WebcitApacheIntegration
43 if test "$RET" = "Internal"; then
44 db_input high citadel
/WebcitHttpPort || true
46 db_set citadel
/WebcitHttpPort
8504 || true
50 db_get citadel
/WebcitApacheIntegration || true
51 if test "$RET" = "Internal"; then
52 db_input high citadel
/WebcitHttpsPort || true
53 export WEBCIT_LISTEN_IP
=0.0.0.0
55 db_set citadel
/WebcitHttpsPort
-1
56 export WEBCIT_LISTEN_IP
=127.0.0.1
60 db_input high citadel
/WebcitOfferLang || true
64 db_input high citadel
/WebcitInstallnote||true
75 db_get citadel
/WebcitHttpPort
&& WEBCIT_HTTP_PORT
="$RET"
76 db_get citadel
/WebcitHttpsPort
&& WEBCIT_HTTPS_PORT
="$RET"
77 db_get citadel
/WebcitBindIp
&& WEBCIT_LISTEN_IP
="$RET"
78 db_get citadel
/WebcitOfferLang
&& WEBCIT_LANG
="$RET"
80 db_get ciatdel
/WebcitWebserver
&&WWWTYPE
="$RET"
81 if test "$WWWTYPE" = "Internal"; then
84 WEBCIT_APACHEFLAG
="-f"
87 set |
grep WEBCIT |
sed "s;^;export ;;" >/etc
/default
/webcit