Skip to content

Commit d584391

Browse files
authored
Update entrypoint.sh to create Steam directories
Create necessary directories for Steam and link them.
1 parent 8b0cc62 commit d584391

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Yolk/entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ run_steamcmd() {
235235
local steamcmd_bin=""
236236
local steamcmd_library_path="/lib:/usr/lib/games/steam"
237237

238-
mkdir -p "${CONTAINER_HOME}/.local/share"
238+
mkdir -p "${CONTAINER_HOME}/.steam" "${CONTAINER_HOME}/.local/share" "${CONTAINER_HOME}/Steam"
239+
ln -sfn "${CONTAINER_HOME}/Steam" "${CONTAINER_HOME}/.steam/root"
240+
ln -sfn "${CONTAINER_HOME}/Steam" "${CONTAINER_HOME}/.steam/steam"
239241

240242
steamcmd_bin="$(resolve_steamcmd_binary || true)"
241243

@@ -448,4 +450,4 @@ if [ "${1:-}" = "" ] || [[ "${1}" = +* ]]; then
448450
run_sbox "$@"
449451
fi
450452

451-
exec "$@"
453+
exec "$@"

0 commit comments

Comments
 (0)