From e52943d8d692a0c2f383615850700d60cb812ac1 Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Wed, 13 Nov 2024 12:23:34 -0500 Subject: [PATCH] os/mac/diagnostic: fix case of OpenCore check --- Library/Homebrew/extend/os/mac/diagnostic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 660c3b0ee1146..6f11864cadfc6 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -136,7 +136,7 @@ def check_for_opencore opencore_version = Utils.safe_popen_read("/usr/sbin/nvram", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version").split[1] oclp_version = Utils.safe_popen_read("/usr/sbin/nvram", - "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oclp-version").split[1] + "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:OCLP-Version").split[1] return if opencore_version.blank? || oclp_version.blank? rescue ErrorDuringExecution return