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_usb-hdd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'helpers/lh_binary_usb-hdd') diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd index c5e0ef4a6..53d9e37c0 100755 --- a/helpers/lh_binary_usb-hdd +++ b/helpers/lh_binary_usb-hdd @@ -142,7 +142,7 @@ case "${LH_BINARY_FILESYSTEM}" in esac case "${LH_CHROOT_BUILD}" in - enabled) + true) Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true Chroot chroot "parted -s ${FREELO} set 1 boot on" || true @@ -154,7 +154,7 @@ case "${LH_CHROOT_BUILD}" in fi ;; - disabled) + false) parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true parted -s ${FREELO} set 1 boot on || true @@ -191,11 +191,11 @@ case "${LH_BINARY_FILESYSTEM}" in esac case "${LH_CHROOT_BUILD}" in - enabled) + true) Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}" ;; - disabled) + false) mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO} ;; esac @@ -247,11 +247,11 @@ rmdir chroot/binary.tmp if [ "${LH_BOOTLOADER}" = "syslinux" ] then case "${LH_CHROOT_BUILD}" in - enabled) + true) Chroot chroot "syslinux ${FREELO}" ;; - disabled) + false) syslinux ${FREELO} ;; esac -- cgit v1.2.3