diff options
Diffstat (limited to 'helpers/lh_binary_grub2')
-rwxr-xr-x | helpers/lh_binary_grub2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_grub2 b/helpers/lh_binary_grub2 index 41d9483cf..76b93734c 100755 --- a/helpers/lh_binary_grub2 +++ b/helpers/lh_binary_grub2 @@ -131,7 +131,7 @@ mkdir -p "${DESTDIR_LIVE}" # Setting boot parameters case "${LH_ENCRYPTION}" in - ""|disabled) + ""|false) ;; *) LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}" @@ -180,7 +180,7 @@ then exit 1 fi -if [ "${LH_EXPOSED_ROOT}" != "disabled" ] +if [ "${LH_EXPOSED_ROOT}" != "false" ] then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} exposedroot" fi @@ -211,7 +211,7 @@ done LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')" # Assembling debian-installer configuration -if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] +if [ "${LH_DEBIAN_INSTALLER}" != "false" ] then LINUX_LIVE="#\t \"Live\"\n${LINUX_LIVE}" LINUX_INSTALL="#\t \"Installer\"\n" @@ -258,7 +258,7 @@ case ${LH_BINARY_IMAGES} in ;; esac -if [ "${LH_CHROOT_BUILD}" = "disabled" ] +if [ "${LH_CHROOT_BUILD}" = "false" ] then FILES="$(echo ${FILES} | sed -e 's|chroot||g')" fi |