From 3725f2d3b6aa9a4da182a69044807b25a75af080 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 24 Aug 2025 00:01:23 +0200 Subject: [PATCH] Everyone can have UKI --- install/login/limine-snapper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/login/limine-snapper.sh b/install/login/limine-snapper.sh index 3699af63..b5b6c925 100644 --- a/install/login/limine-snapper.sh +++ b/install/login/limine-snapper.sh @@ -86,8 +86,7 @@ EOF fi # Add UKI entry to UEFI machines to skip bootloader showing on normal boot -# Only doing this for ISO installs -if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then +if [ -n "$EFI" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then sudo efibootmgr --create \ --disk "$(findmnt -n -o SOURCE /boot | sed 's/[0-9]*$//')" \ --part "$(findmnt -n -o SOURCE /boot | grep -o '[0-9]*$')" \