diff --git a/src/archlabs-installer b/src/archlabs-installer index bb1657c..201b5a1 100755 --- a/src/archlabs-installer +++ b/src/archlabs-installer @@ -1729,17 +1729,17 @@ setup_grub() luks_pass "$_LuksOpen" "" || return 1 fi BCMDS[grub]="mount -t efivarfs efivarfs $efidir/efivars || true && - ${BCMDS[grub]} --bootloader-id=$DIST" + ${BCMDS[grub]} --bootloader-id=$DIST" grep -q $efidir/efivars <<< "$(mount)" || mount -t efivarfs efivarfs $efidir/efivars fi BCMDS[grub]="mkdir -p /run/udev /run/lvm && - mount --bind /hostrun/udev /run/udev && - mount --bind /hostrun/lvm /run/lvm && - ${BCMDS[grub]} && - grub-mkconfig -o /boot/grub/grub.cfg && - sleep 1 && umount /run/udev /run/lvm" + mount --bind /hostrun/udev /run/udev && + mount --bind /hostrun/lvm /run/lvm && + ${BCMDS[grub]} && + grub-mkconfig -o /boot/grub/grub.cfg && + sleep 1 && umount /run/udev /run/lvm" return 0 }