misc: java is actually found in /usr/bin by default

This commit is contained in:
Geoff Bourne
2021-02-11 15:05:45 -06:00
parent e78e5af96d
commit 21c1620f0c

View File

@@ -170,7 +170,7 @@ function copyFilesForCurseForge() {
if ! which java > /dev/null; then
log "Fixing PATH to include java"
PATH="${PATH}:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin"
PATH="${PATH}:/usr/bin"
fi
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"