summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
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_usb-hdd
parent32930b4a6a14374d2895a4e9247fdc192a91124b (diff)
downloadlive-build-701b5affd403d9a25df311fc422dd33eb4526c34.zip
live-build-701b5affd403d9a25df311fc422dd33eb4526c34.tar.gz
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index c5e0ef4..53d9e37 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