summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-13 21:17:45 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:03 +0100
commit701b5affd403d9a25df311fc422dd33eb4526c34 (patch)
tree7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_binary_debian-installer
parent32930b4a6a14374d2895a4e9247fdc192a91124b (diff)
downloadvyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.tar.gz
vyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.zip
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_binary_debian-installer')
-rwxr-xr-xhelpers/lh_binary_debian-installer10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 9fccdfa88..7f5af9556 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -28,10 +28,10 @@ then
exit 0
fi
-if [ "${_DEBUG}" = "enabled" ]
+if [ "${_DEBUG}" = "true" ]
then
WGET_OPTIONS="${WGET_OPTIONS} --verbose"
-elif [ "${_QUIET}" = "enabled" ]
+elif [ "${_QUIET}" = "true" ]
then
WGET_OPTIONS="${WGET_OPTIONS} --quiet"
else
@@ -40,10 +40,10 @@ fi
# Check d-i configuration
case "${LH_DEBIAN_INSTALLER}" in
- enabled|cdrom|netinst|netboot|businesscard|live)
+ true|cdrom|netinst|netboot|businesscard|live)
;;
- disabled)
+ false)
exit 0
;;
@@ -287,7 +287,7 @@ else
# Downloading graphical-installer
DOWNLOAD_GTK_INSTALLER=0
- if [ "${LH_DEBIAN_INSTALLER_GUI}" = "enabled" ]
+ if [ "${LH_DEBIAN_INSTALLER_GUI}" = "true" ]
then
case "${LH_ARCHITECTURE}" in
amd64|i386)