diff --git a/src/installer b/src/installer index d6ba2ad..025a7a6 100755 --- a/src/installer +++ b/src/installer @@ -15,7 +15,7 @@ # immutable variables { readonly DIST="Archlabs" # Linux distributor -readonly VER="1.6.27" # Installer version +readonly VER="1.6.28" # Installer version readonly LIVE="liveuser" # Live session user readonly TRN="/usr/share/archlabs-installer" # Translation path readonly MNT="/mnt/install" # Install mountpoint @@ -2097,7 +2097,12 @@ grub_uefi_fallback() { mkdir -p $esp/EFI/$fb cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/grubx64.efi - cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/bootx64.efi + + if [[ ! -e $esp/EFI/$fb/bootx64.efi ]]; then + cp -f $esp/EFI/$DIST/grubx64.efi $esp/EFI/$fb/bootx64.efi + fi + + return 0 } setup_bootloader() {