mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Invert the logic to only fail when we know for sure secure boot is on
This commit is contained in:
@@ -19,7 +19,7 @@ done
|
||||
[ "$(uname -m)" != "x86_64" ] && abort "x86_64 CPU"
|
||||
|
||||
# Must have secure boot disabled
|
||||
bootctl status 2>/dev/null | grep -q 'Secure Boot: disabled' || abort "Secure Boot disabled"
|
||||
bootctl status 2>/dev/null | grep -q 'Secure Boot: enabled' && abort "Secure Boot disabled"
|
||||
|
||||
# Must not have Gnome or KDE already install
|
||||
pacman -Qe gnome-shell &>/dev/null && abort "Fresh + Vanilla Arch"
|
||||
|
||||
Reference in New Issue
Block a user