summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-10 23:00:03 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-08-10 23:00:03 +0100
commit856d069cf3512a3f0c30ca65efeead7e7d4716e3 (patch)
tree88cfd7e4cf006b2d4999469914213cfd28830ed9
parentca49c9825aa4d4cf2e744425e7e5f67fbe2ffb86 (diff)
downloadvyos-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-xhelpers/lh_binary_debian-installer7
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