Shifted PATH-fix earlier in startup

This commit is contained in:
Geoff Bourne committed 2021-03-06 16:07:04 -06:00
1 parent a9fec728e1
commit 43b090019d
2 files changed
+5 -5

No files matched your search

+5
View File
@@ -54,6 +54,11 @@ if [[ $RCON_PASSWORD_FILE ]]; then
log ""
fi
if ! which java > /dev/null; then
log "Fixing PATH to include java"
PATH="${PATH}:/opt/java/openjdk/bin"
fi
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
case "X$VERSION" in