Commit c3ba540f authored by Steven Mondji-Lerider's avatar Steven Mondji-Lerider

Removing alternc_location debconf question. Fix #1443

parent 481da316
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment