SteamOS EFI entry logic fix

This commit is contained in:
jlobue10 2023-01-01 11:54:05 -08:00 committed by GitHub
parent 6983125065
commit 097061680f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ if [[ $REFIND_BOOTNUM_ALT =~ $re ]]; then
sudo efibootmgr -b $REFIND_BOOTNUM_ALT -B
fi
if [[ $STEAMOS_BOOTNUM != $re ]]; then
if ! [[ $STEAMOS_BOOTNUM =~ $re ]]; then
# Recreate the missing SteamOS EFI entry (if missing)
sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L "SteamOS" -l \\efi\\steamos\\steamcl.efi
fi