mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-08 07:41:24 +00:00
Revert "Add support of CF_API_KEY_FILE environment variable" (#3402)
This commit is contained in:
@@ -24,11 +24,6 @@ set -eu
|
||||
|
||||
resultsFile=/data/.install-curseforge.env
|
||||
|
||||
if [[ -n ${CF_API_KEY_FILE} ]]; then
|
||||
CF_API_KEY="$(cat "${CF_API_KEY_FILE}")"
|
||||
export CF_API_KEY
|
||||
fi
|
||||
|
||||
isDebugging && set -x
|
||||
|
||||
ensureRemoveAllModsOff "MODPACK_PLATFORM=AUTO_CURSEFORGE"
|
||||
@@ -66,7 +61,7 @@ if ! mc-image-helper install-curseforge "${args[@]}"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
applyResultsFile "${resultsFile}"
|
||||
applyResultsFile ${resultsFile}
|
||||
resolveFamily
|
||||
|
||||
exec "${SCRIPTS:-/}start-setupWorld" "$@"
|
||||
|
||||
Reference in New Issue
Block a user