zulujdk11 fixed download and version checks#2012
zulujdk11 fixed download and version checks#2012PhantomPhixer wants to merge 3 commits intoInstallomator:mainfrom
Conversation
|
download URL ist still pulling incorrect info Proposed update: original downloadURL line: downloadURL=https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio '">zulu11.*ca-jdk11.aarch64.dmg(.)' | cut -c3- | sed 's/</a>//' | sed -E 's/([0-9.])M//' | awk '{print $2 $1}' | sort | cut -d "<" -f 1 | tail -1) replacement line: https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio "'>zulu11.*ca-jdk11.aarch64.dmg(.)' | cut -c2- | sed 's/</a>//' | sed -E 's/([0-9.])M//' | awk '{print $2 $1}' | sort | cut -d "<" -f 1 | tail -1 removes cut -c3- and adds cut -c2- should give this result: https://cdn.azul.com/zulu/bin/zulu11.76.21-ca-jdk11.0.25-macosx_aarch64.dmg |
|
🤖 Validation robot 🤖 |
as per PR #2011 the zulujdk11 function is incorrect.
Same fix methods applied.
zulujdk11-clean install.log
zulujdk11-update-same-version.log