summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
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" ] )