diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-04 13:28:09 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-04 13:28:09 -0600 |
commit | 692549c542f673015105a3aa4358c1e3095bb0e0 (patch) | |
tree | 379965f6bb4e8abb9388d76bf2615438ae39d6f7 | |
parent | addf9f4edeab8e8e2cb115dd98dc764cc1f19fcf (diff) |
Use com.apple.oahd.plist for rosetta 2 detection
-rwxr-xr-x | scripts/install.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.in b/scripts/install.in index 9c8831d2b..0eaf25bb3 100755 --- a/scripts/install.in +++ b/scripts/install.in @@ -47,7 +47,7 @@ case "$(uname -s).$(uname -m)" in ;; Darwin.arm64|Darwin.aarch64) # check for Rosetta 2 support - if ! [ -d /Library/Apple/usr/libexec/oah ]; then + if ! [ -f /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ]; then oops "Rosetta 2 is not installed on this ARM64 macOS machine. Run softwareupdate --install-rosetta then restart installation" fi |