diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-10 23:00:03 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:38 +0100 |
commit | d6053a8103f3f3efbd864ebbb65d15e51bfd0162 (patch) | |
tree | b7bc28b67067c4b8bcb998ee827498945ac8c46d /helpers | |
parent | 1edb9bd7c884b2cdccb7fa259f2cac7befb9ab5d (diff) | |
download | live-build-d6053a8103f3f3efbd864ebbb65d15e51bfd0162.zip live-build-d6053a8103f3f3efbd864ebbb65d15e51bfd0162.tar.gz |
Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
Diffstat (limited to 'helpers')
-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 1e44f0a..94e14ea 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 |