Removing alternc_location debconf question. Fix #1443
This commit is contained in:
parent
481da31689
commit
c3ba540fee
|
@ -142,7 +142,6 @@ db_input medium alternc-slave/public_ip || true
|
|||
db_input medium alternc-slave/default_mx || true
|
||||
db_input medium alternc-slave/ns1 || true
|
||||
db_input medium alternc-slave/ns2 || true
|
||||
db_input low alternc-slave/alternc_location || true
|
||||
db_input low alternc-slave/mysql/host || true
|
||||
db_input low alternc-slave/mysql/db || true
|
||||
db_input low alternc-slave/mysql/user || true
|
||||
|
|
|
@ -82,7 +82,7 @@ SQLBACKUP_TYPE="rotate"
|
|||
SQLBACKUP_OVERWRITE="no"
|
||||
QUEST_STATE=1
|
||||
|
||||
while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 12 ]; do
|
||||
while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 11 ]; do
|
||||
case "$QUEST_STATE" in
|
||||
1)
|
||||
if [ -r /etc/alternc/local.sh ]; then
|
||||
|
@ -177,15 +177,8 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 12 ]; do
|
|||
fi
|
||||
;;
|
||||
10)
|
||||
db_input low alternc/alternc_location || true
|
||||
;;
|
||||
11)
|
||||
# We need to check the alternc_location here because we have to test for quotas and acls
|
||||
db_get alternc/alternc_location
|
||||
if [ -z "$RET" ]
|
||||
then
|
||||
# We need to set the alternc_location here because we have to test for quotas and acls
|
||||
db_set alternc/alternc_location "$ALTERNC_LOC"
|
||||
fi
|
||||
|
||||
db_get alternc/alternc_location
|
||||
LOCATION="$RET"
|
||||
|
|
Loading…
Reference in New Issue