summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-10 23:00:03 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commitd6053a8103f3f3efbd864ebbb65d15e51bfd0162 (patch)
treeb7bc28b67067c4b8bcb998ee827498945ac8c46d /helpers
parent1edb9bd7c884b2cdccb7fa259f2cac7befb9ab5d (diff)
downloadlive-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-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 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