diff options
author | Daniel Baumann <daniel@debian.org> | 2011-01-07 22:14:16 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:41 +0100 |
commit | 7ce2164003a59e229b09270a1a4488cf57ae2546 (patch) | |
tree | 27ad9cd2c20897caf265463debf336d518424c0c /functions/defaults.sh | |
parent | 6d87f0dde3a22c9c49a727025913484e35819dbf (diff) | |
download | vyos-live-build-7ce2164003a59e229b09270a1a4488cf57ae2546.tar.gz vyos-live-build-7ce2164003a59e229b09270a1a4488cf57ae2546.zip |
Updating apt indices defaults for progress.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index d8698d5d3..8b0fb9fd9 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -723,12 +723,20 @@ Set_defaults () esac # Setting apt indices - if echo ${LB_PACKAGE_LISTS} | grep -qs -E "(stripped|minimal)\b" - then - LB_APT_INDICES="${LB_APT_INDICES:-none}" - else - LB_APT_INDICES="${LB_APT_INDICES:-true}" - fi + case "${LB_MODE}" in + progress) + LB_APT_INDICES="${LB_APT_INDICES:-none}" + ;; + + *) + if echo ${LB_PACKAGE_LISTS} | grep -qs -E "(stripped|minimal)\b" + then + LB_APT_INDICES="${LB_APT_INDICES:-none}" + else + LB_APT_INDICES="${LB_APT_INDICES:-true}" + fi + ;; + esac # Setting bootloader if [ -z "${LB_BOOTLOADER}" ] |