From 494f6e6f63d64c6c4c2a6e3294fcc74058764215 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Thu, 23 Feb 2017 20:38:49 +0100 Subject: [PATCH] indenting correction, https://github.com/Chrysostomus/manjaro-architect/issues/60 --- lib/util-base.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/util-base.sh b/lib/util-base.sh index 5d4a9e8..cf2928b 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -440,16 +440,16 @@ bios_bootloader() { arch_chroot "grub-mkconfig -o /boot/grub/grub.cfg" 2>$ERR check_for_error "grub-mkconfig" "$?" - fi - else - # Syslinux - DIALOG " $_InstSysTitle " --menu "$_InstSysBody" 0 0 2 \ - "syslinux-install_update -iam" "[MBR]" "syslinux-install_update -i" "[/]" 2>${PACKAGES} + fi + else + # Syslinux + DIALOG " $_InstSysTitle " --menu "$_InstSysBody" 0 0 2 \ + "syslinux-install_update -iam" "[MBR]" "syslinux-install_update -i" "[/]" 2>${PACKAGES} - # If an installation method has been chosen, run it - if [[ $(cat ${PACKAGES}) != "" ]]; then - arch_chroot "$(cat ${PACKAGES})" 2>$ERR - check_for_error "syslinux-install" "$?" + # If an installation method has been chosen, run it + if [[ $(cat ${PACKAGES}) != "" ]]; then + arch_chroot "$(cat ${PACKAGES})" 2>$ERR + check_for_error "syslinux-install" "$?" # Amend configuration file. First remove all existing entries, then input new ones. sed -i '/^LABEL.*$/,$d' ${MOUNTPOINT}/boot/syslinux/syslinux.cfg