From c9a7e8b3f60f8f99f6f1b869b6e842e6c4263fb8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 29 Nov 2011 13:06:11 +0100 Subject: Inverting logic for defaults or archive-areas wrt/ parent and derivatives. --- functions/defaults.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 316640645..3b83eed51 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -597,18 +597,18 @@ Set_defaults () # Setting archive areas value case "${LB_MODE}" in progress) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-main}" LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" ;; ubuntu|kubuntu) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-main restricted}" - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-${LB_PARENT_ARCHIVE_AREAS}}" + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" ;; *) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-main}" - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-${LB_PARENT_ARCHIVE_AREAS}}" + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" ;; esac -- cgit v1.2.3