diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-10 23:00:03 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-10 23:00:03 +0100 |
commit | 856d069cf3512a3f0c30ca65efeead7e7d4716e3 (patch) | |
tree | 88cfd7e4cf006b2d4999469914213cfd28830ed9 | |
parent | ca49c9825aa4d4cf2e744425e7e5f67fbe2ffb86 (diff) | |
download | vyos-live-build-856d069cf3512a3f0c30ca65efeead7e7d4716e3.tar.gz vyos-live-build-856d069cf3512a3f0c30ca65efeead7e7d4716e3.zip |
Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-x | helpers/lh_binary_debian-installer | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 1e44f0a1a..94e14eab2 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -28,9 +28,14 @@ Arguments "${@}" Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults -if [ "${LH_QUIET}" = "enabled" ] +if [ "${LH_DEBUG}" = "enabled" ] +then + WGET_OPTIONS="${WGET_OPTIONS} --verbose" +elif [ "${LH_QUIET}" = "enabled" ] then WGET_OPTIONS="${WGET_OPTIONS} --quiet" +else + WGET_OPTIONS="${WGET_OPTIONS} --no-verbose" fi # Check d-i configuration |