mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-09 00:43:20 +00:00
Add resolveVersion for TYPE=CURSEFORGE (#2237)
This commit is contained in:
@@ -24,6 +24,11 @@ loadForgeVars() {
|
|||||||
|
|
||||||
isDebugging && set -x
|
isDebugging && set -x
|
||||||
|
|
||||||
|
if [[ ${VERSION^^} == LATEST ]]; then
|
||||||
|
log "WARNING for the old TYPE=CURSEFORGE mechanism it is best to set VERSION to a specific value"
|
||||||
|
fi
|
||||||
|
resolveVersion
|
||||||
|
|
||||||
: "${FTB_BASE_DIR:=${CF_BASE_DIR:-/data/FeedTheBeast}}"
|
: "${FTB_BASE_DIR:=${CF_BASE_DIR:-/data/FeedTheBeast}}"
|
||||||
export FTB_BASE_DIR
|
export FTB_BASE_DIR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user