Skip to content

Commit

Permalink
Use temurin8 instead of adoptopenjdk8
Browse files Browse the repository at this point in the history
  • Loading branch information
ytorbyk committed Oct 29, 2021
1 parent f4cfcd8 commit dc565aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Commands/ElasticSearch/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ private function ensureJavaInstalled(): void
});

if (strpos((string)$javaVersion, '1.8') !== 0) {
Brew::tap('homebrew/cask', 'homebrew/cask-versions');
Cli::passthru('brew install --cask temurin8');
}
}
Expand Down
1 change: 1 addition & 0 deletions app/Commands/Kibana/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ private function ensureJavaInstalled(): void
});

if (strpos((string)$javaVersion, '1.8') !== 0) {
Brew::tap('homebrew/cask', 'homebrew/cask-versions');
Cli::passthru('brew install --cask temurin8');
}
}
Expand Down

0 comments on commit dc565aa

Please sign in to comment.