TheRemote/RaspberryPiMinecraft

Wrong version test

Closed this issue · 1 comments

JavaVer=$(apt-cache show openjdk-13-jre-headless | grep Version | awk 'NR==1{ print $2 }')

This checks for version 13, then tries to install version 14.

It then checks for 13 again, and tries to install 13. So I'm guessing the first check should be for version 14.

Doh! You're absolutely right. I was trying to get ahead of OpenJDK's aggressive release schedule and flubbed my copy paste.

This has now been fixed!