aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-12-04 13:28:09 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2020-12-04 13:28:09 -0600
commit692549c542f673015105a3aa4358c1e3095bb0e0 (patch)
tree379965f6bb4e8abb9388d76bf2615438ae39d6f7
parentaddf9f4edeab8e8e2cb115dd98dc764cc1f19fcf (diff)
Use com.apple.oahd.plist for rosetta 2 detection
-rwxr-xr-xscripts/install.in2
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