From d6053a8103f3f3efbd864ebbb65d15e51bfd0162 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 10 Aug 2008 23:00:03 +0100 Subject: Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL). --- helpers/lh_binary_debian-installer | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.0