3
# Source debconf library.
4
. /usr/share/debconf/confmodule
9
db_input high moodle/sgbd || true
12
while [ "$STATE" != 0 -a "$STATE" != 13 ]
16
db_input critical moodle/webserver || true
18
db_get moodle/webserver || true
19
if [ ! -z "$RET" ]; then
28
db_input critical moodle/db_server || true
30
db_get moodle/db_server || true
31
if [ ! -z "$RET" ]; then
40
db_input critical moodle/db_host || true
42
db_get moodle/db_host || true
43
if [ ! -z "$RET" ]; then
52
db_input critical moodle/dba_name || true
54
db_get moodle/dba_name || true
55
if [ ! -z "$RET" ]; then
64
db_input critical moodle/dba_password || true
66
db_get moodle/dba_password || true
74
db_input critical moodle/dba_confirm || true
76
db_get moodle/dba_confirm || true
78
db_get moodle/dba_password || true
79
if [ "$RET" != "$CONFIRM" ]; then
90
db_input critical moodle/mismatch || true
96
db_input critical moodle/dbu_name || true
98
db_get moodle/dbu_name || true
99
if [ ! -z "$RET" ]; then
108
db_input critical moodle/dbu_password || true
110
db_get moodle/dbu_password || true
118
db_input critical moodle/dbu_confirm || true
120
db_get moodle/dbu_confirm || true
122
db_get moodle/dbu_password || true
123
if [ "$RET" != "$CONFIRM" ]; then
134
db_input critical moodle/mismatch || true
140
db_input critical moodle/create_tables || true
147
if [ "$STATE" = 0 ]; then
148
db_input critical moodle/notconfigured || true