libaltos: Build Mac OSX libaltos.dylib for arm64 too
[fw/altos] / altosui / install-macosx
index c39fb85e868c8e60a9dc546bad1afd71c46fc3a8..721a3d1cf79c7660d6a6f5eea089ff5c0e155ab6 100755 (executable)
@@ -20,8 +20,8 @@ case `id -u` in
 esac
 
 # Check for java
-if ls "$JVM" | grep -q adopt; then
-    echo "Adopt OpenJDK already present"
+if ls "$JVM" | grep -q temurin; then
+    echo "Adoptium already present"
 else
     open https://adoptium.net/
     osascript -e 'display dialog "Install Java from https://adoptium.net then click Continue" buttons {"Continue"} default button 1 with title "Install Java"' >/dev/null