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/default_mx || true
|
||||||
db_input medium alternc-slave/ns1 || true
|
db_input medium alternc-slave/ns1 || true
|
||||||
db_input medium alternc-slave/ns2 || 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/host || true
|
||||||
db_input low alternc-slave/mysql/db || true
|
db_input low alternc-slave/mysql/db || true
|
||||||
db_input low alternc-slave/mysql/user || true
|
db_input low alternc-slave/mysql/user || true
|
||||||
|
|
|
@ -82,7 +82,7 @@ SQLBACKUP_TYPE="rotate"
|
||||||
SQLBACKUP_OVERWRITE="no"
|
SQLBACKUP_OVERWRITE="no"
|
||||||
QUEST_STATE=1
|
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
|
case "$QUEST_STATE" in
|
||||||
1)
|
1)
|
||||||
if [ -r /etc/alternc/local.sh ]; then
|
if [ -r /etc/alternc/local.sh ]; then
|
||||||
|
@ -177,15 +177,8 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 12 ]; do
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
10)
|
10)
|
||||||
db_input low alternc/alternc_location || true
|
# We need to set the alternc_location here because we have to test for quotas and acls
|
||||||
;;
|
|
||||||
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
|
|
||||||
db_set alternc/alternc_location "$ALTERNC_LOC"
|
db_set alternc/alternc_location "$ALTERNC_LOC"
|
||||||
fi
|
|
||||||
|
|
||||||
db_get alternc/alternc_location
|
db_get alternc/alternc_location
|
||||||
LOCATION="$RET"
|
LOCATION="$RET"
|
||||||
|
|
Loading…
Reference in New Issue