mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-12 03:10:47 +00:00
Fix PATH to include java when needed
This commit is contained in:
1 parent
02e0a47a52
commit
f397dd71a9
1 file changed
+1
-1
@@ -170,7 +170,7 @@ function copyFilesForCurseForge() {
|
||||
|
||||
if ! which java > /dev/null; then
|
||||
log "Fixing PATH to include java"
|
||||
PATH="${PATH}:/usr/bin"
|
||||
PATH="${PATH}:/opt/java/openjdk/bin"
|
||||
fi
|
||||
|
||||
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
|
||||
|
||||
Reference in new issue
Block a user