Explorar o código

java: fix false positives for check on mac os x

Kyle P Davis %!s(int64=10) %!d(string=hai) anos
pai
achega
656a1383e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gimmes/java

+ 1 - 1
gimmes/java

@@ -2,7 +2,7 @@
 set -o errexit -o pipefail
 
 if [[ "$OS" = "Darwin" ]]; then
-	has java  ||  brew cask install java
+	[ -d "/Library/PreferencePanes/JavaControlPanel.prefPane" ]  ||  brew cask install java
 else
 	has java  ||  gimme_pkg openjdk-8-jdk
 fi