summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_win32-loader
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_win32-loader
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_win32-loader')
-rwxr-xr-xhelpers/lh_binary_win32-loader8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_win32-loader b/helpers/lh_binary_win32-loader
index 6a61dfa3d..685121828 100755
--- a/helpers/lh_binary_win32-loader
+++ b/helpers/lh_binary_win32-loader
@@ -23,7 +23,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LH_WIN32_LOADER}" != "enabled" ] || [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ]
+if [ "${LH_WIN32_LOADER}" != "true" ] || [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ]
then
exit 0
fi
@@ -44,7 +44,7 @@ Create_lockfile .lock
case "${LH_ARCHITECTURE}" in
amd64|i386)
- if [ "${LH_CHROOT_BUILD}" = "enabled" ]
+ if [ "${LH_CHROOT_BUILD}" = "true" ]
then
# Checking depends
Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader
@@ -63,7 +63,7 @@ case "${LH_ARCHITECTURE}" in
mv binary/win32-loader.exe binary/setup.exe
- if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
+ if [ "${LH_DEBIAN_INSTALLER}" != "false" ]
then
cat > binary/win32-loader.ini << EOF
@@ -89,7 +89,7 @@ EOF
;;
*)
- Echo_warning "win32-loader inclusion is enabled but not compatible with your architecture, ignoring."
+ Echo_warning "win32-loader inclusion is set to true but not compatible with your architecture, ignoring."
;;
esac