From aaf327b308ca3b41fe33e079ba9eca1fdf35c6d6 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 23 May 2021 12:39:10 -0500 Subject: [PATCH] Added SETUP_ONLY option #878 --- start-minecraftFinalSetup | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index a6edf5c2..a2015775 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -212,6 +212,11 @@ EOF "${FTB_SERVER_START}" ) + if isTrue ${SETUP_ONLY:=false}; then + echo "SETUP_ONLY: ${finalArgs[@]}" + exit + fi + if isTrue ${DEBUG_EXEC}; then set -x fi @@ -236,6 +241,11 @@ else "$@" $EXTRA_ARGS ) + if isTrue ${SETUP_ONLY:=false}; then + echo "SETUP_ONLY: java ${finalArgs[@]}" + exit + fi + if isTrue ${DEBUG_EXEC}; then set -x fi