Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-08-10 23:00:03 +01:00
parent ca49c9825a
commit 856d069cf3
1 changed files with 6 additions and 1 deletions

View File

@ -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