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:
parent
ca49c9825a
commit
856d069cf3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue