diff --git a/docker/files/docker-entrypoint-rootless.sh b/docker/files/docker-entrypoint-rootless.sh index a1aa8d9..2b91698 100755 --- a/docker/files/docker-entrypoint-rootless.sh +++ b/docker/files/docker-entrypoint-rootless.sh @@ -54,6 +54,7 @@ fi # The container runs as the specified user from the start EXEC="" # Setup ARM64 emulation support +# shellcheck disable=SC1091 source "${INSTALLED_DIRECTORY}/setup-exec.sh" # Update config path diff --git a/docker/files/docker-entrypoint.sh b/docker/files/docker-entrypoint.sh index 84ef3ce..fd9537b 100755 --- a/docker/files/docker-entrypoint.sh +++ b/docker/files/docker-entrypoint.sh @@ -41,10 +41,10 @@ if [[ $NRTMPSAVES -gt 0 ]]; then fi if [[ ${UPDATE_MODS_ON_START:-} == "true" ]]; then - ${INSTALLED_DIRECTORY}/docker-update-mods.sh + "${INSTALLED_DIRECTORY}"/docker-update-mods.sh fi -${INSTALLED_DIRECTORY}/docker-dlc.sh +"${INSTALLED_DIRECTORY}"/docker-dlc.sh EXEC="" if [[ $(id -u) == 0 ]]; then @@ -58,6 +58,7 @@ if [[ $(id -u) == 0 ]]; then fi # Setup ARM64 emulation support +# shellcheck disable=SC1091 source "${INSTALLED_DIRECTORY}/setup-exec.sh" sed -i '/write-data=/c\write-data=\/factorio/' /opt/factorio/config/config.ini diff --git a/docker/files/scenario.sh b/docker/files/scenario.sh index 4bd2eaa..a98d9d9 100755 --- a/docker/files/scenario.sh +++ b/docker/files/scenario.sh @@ -34,6 +34,7 @@ fi # Setup ARM64 emulation support EXEC="" +# shellcheck disable=SC1091 source "${INSTALLED_DIRECTORY}/setup-exec.sh" exec $EXEC /opt/factorio/bin/x64/factorio \ diff --git a/docker/files/scenario2map.sh b/docker/files/scenario2map.sh index c0a1075..7f40d3a 100755 --- a/docker/files/scenario2map.sh +++ b/docker/files/scenario2map.sh @@ -26,6 +26,7 @@ fi # Setup ARM64 emulation support EXEC="" +# shellcheck disable=SC1091 source "${INSTALLED_DIRECTORY}/setup-exec.sh" exec $EXEC /opt/factorio/bin/x64/factorio \