From 012f849c0f1d3cc53df70f8b9894532afc6593c9 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 18 Jun 2023 19:44:56 -0500 Subject: [PATCH] Add resolveVersion for TYPE=CURSEFORGE --- scripts/start-deployCF | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/start-deployCF b/scripts/start-deployCF index 1b39c3ecf37..908b6afb68d 100755 --- a/scripts/start-deployCF +++ b/scripts/start-deployCF @@ -24,6 +24,11 @@ loadForgeVars() { 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}}" export FTB_BASE_DIR