4 . /usr/share/debconf/confmodule
6 if test -e /etc/default/webcit; then
7 source /etc/default/webcit
9 export WEBCIT_CITADEL_IP=127.0.0.1
10 export WEBCIT_CITADEL_PORT=504
16 if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
23 while [ "$STATE" != 0 -a "$STATE" -le "$LASTSTATE" ]; do
26 db_input high citadel/WebcitApacheIntegration
29 db_get citadel/WebcitApacheIntegration
30 if test "$RET" = "Internal"; then
31 db_input high citadel/WebcitHttpPort
33 db_set citadel/WebcitHttpPort 8504
37 db_get citadel/WebcitApacheIntegration
38 if test "$RET" = "Internal"; then
39 db_input high citadel/WebcitHttpsPort
40 db_set citadel/WebcitBindIp 0.0.0.0
42 db_set citadel/WebcitHttpsPort -1
43 db_set citadel/WebcitBindIp 127.0.0.1
47 db_input high citadel/WebcitInstallnote
58 db_get ciatdel/WebcitWebserver &&WWWTYPE="$RET"
59 db_get citadel/WebcitHttpPort && WEBCIT_HTTP_PORT="$RET"
60 db_get citadel/WebcitHttpsPort && WEBCIT_HTTPS_PORT="$RET"
61 db_get citadel/WebcitBindIp && WEBCIT_LISTEN_IP="$RET"
63 set |grep WEBCIT |sed "s;^;export ;;" >/etc/default/webcit