From c3ba540fee309284f9f94b7256808b6f1d91ce66 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Thu, 7 Feb 2013 12:47:19 +0000 Subject: [PATCH] Removing alternc_location debconf question. Fix #1443 --- debian/alternc-slave.config | 1 - debian/alternc.config | 11 ++--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/debian/alternc-slave.config b/debian/alternc-slave.config index 80ef4fbb..38361862 100644 --- a/debian/alternc-slave.config +++ b/debian/alternc-slave.config @@ -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 diff --git a/debian/alternc.config b/debian/alternc.config index 6a71e7dd..83a01b57 100644 --- a/debian/alternc.config +++ b/debian/alternc.config @@ -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"