mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-19 13:20:52 +00:00
Update amazoncorretto8jdk.sh
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
amazoncorretto8jdk)
|
amazoncorretto8jdk)
|
||||||
name="Amazon Corretto 8 JDK"
|
name="Amazon Corretto 8 JDK"
|
||||||
type="pkg"
|
type="pkg"
|
||||||
downloadURL="https://corretto.aws/downloads/latest/amazon-corretto-8-x64-macos-jdk.pkg"
|
if [[ $(arch) == "arm64" ]]; then
|
||||||
appNewVersion=$(curl -s https://raw.githubusercontent.com/corretto/corretto-8/develop/CHANGELOG.md | grep "## Corretto version" | head -n 1 | awk '{ print $4; exit}')
|
downloadURL="https://corretto.aws/downloads/latest/amazon-corretto-8-aarch64-macos-jdk.pkg"
|
||||||
|
appNewVersion=$(curl -s https://raw.githubusercontent.com/corretto/corretto-8/develop/CHANGELOG.md | grep "## Corretto version" | head -n 1 | awk '{ print $4; exit}')
|
||||||
|
elif [[ $(arch) == "i386" ]]; then
|
||||||
|
downloadURL="https://corretto.aws/downloads/latest/amazon-corretto-8-x64-macos-jdk.pkg"
|
||||||
|
appNewVersion=$(curl -s https://raw.githubusercontent.com/corretto/corretto-8/develop/CHANGELOG.md | grep "## Corretto version" | head -n 1 | awk '{ print $4; exit}')
|
||||||
|
fi
|
||||||
expectedTeamID="94KV3E626L"
|
expectedTeamID="94KV3E626L"
|
||||||
;;
|
;;
|
||||||
Reference in New Issue
Block a user