From 701b5affd403d9a25df311fc422dd33eb4526c34 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 13 Dec 2009 21:17:45 +0100 Subject: For consistency, using true|false instead of enabled|disabled in configuration options. --- helpers/lh_binary_memtest | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'helpers/lh_binary_memtest') diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest index 98a3be517..581ec9a1f 100755 --- a/helpers/lh_binary_memtest +++ b/helpers/lh_binary_memtest @@ -23,7 +23,7 @@ Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults -if [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ] || [ "${LH_MEMTEST}" = "disabled" ] || [ "${LH_MEMTEST}" = "none" ] +if [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ] || [ "${LH_MEMTEST}" = "false" ] || [ "${LH_MEMTEST}" = "none" ] then exit 0 fi @@ -48,7 +48,7 @@ then exit 0 fi -if [ "${LH_CHROOT_BUILD}" = "enabled" ] +if [ "${LH_CHROOT_BUILD}" = "true" ] then if [ -f chroot/usr/sbin/grub ] && [ ! -f chroot/boot/grub/menu.lst ] @@ -95,11 +95,11 @@ mkdir -p "${DESTDIR}" # Installing memtest case "${LH_CHROOT_BUILD}" in - enabled) + true) cp chroot/boot/${LH_MEMTEST}.bin "${DESTDIR}"/memtest ;; - disabled) + false) cp /boot/${LH_MEMTEST}.bin "${DESTDIR}"/memtest ;; esac -- cgit v1.2.3