There was an error while loading. Please reload this page.
1 parent 7386232 commit 292a55bCopy full SHA for 292a55b
1 file changed
games/minecraft/entrypoint.sh
@@ -2,7 +2,9 @@
2
3
set -e
4
5
-cd "${HOME:-/var/lib/nodebyte/game/data}"
+DATA_DIR="/var/lib/nodebyte/game/data"
6
+mkdir -p "$DATA_DIR"
7
+cd "$DATA_DIR"
8
9
TYPE=$(echo "${TYPE:-PAPER}" | tr '[:lower:]' '[:upper:]')
10
VERSION=${VERSION:-LATEST}
0 commit comments