From ad518cce947edd72293450f8ea21fe66ee892244 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 24 Aug 2011 22:59:46 +0200 Subject: Setting apt-source to false in progress mode. --- functions/defaults.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'functions/defaults.sh') diff --git a/functions/defaults.sh b/functions/defaults.sh index c87237ae7..ec283d49e 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -101,7 +101,15 @@ Set_defaults () LB_APT_SECURE="${LB_APT_SECURE:-true}" # Setting apt source - LB_APT_SOURCE="${LB_APT_SOURCE:-true}" + case "${LB_MODE}" in + progress) + LB_APT_SOURCE="${LB_APT_SOURCE:-false}" + ;; + + *) + LB_APT_SOURCE="${LB_APT_SOURCE:-true}" + ;; + esac # Setting bootstrap program if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] ) -- cgit v1.2.3