From b910a7dbe58b32cf240d4a4a19de312131246d05 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 18 Aug 2018 15:38:27 -0500 Subject: [PATCH] mc: adjust FTB server pack check to look in subdirs --- minecraft-server/start-deployFTB | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft-server/start-deployFTB b/minecraft-server/start-deployFTB index 5aaa1727..e70ad1b0 100755 --- a/minecraft-server/start-deployFTB +++ b/minecraft-server/start-deployFTB @@ -68,7 +68,7 @@ if [[ $startScriptCount = 0 ]]; then unzip -o ${srv_modpack} -d ${FTB_BASE_DIR} | awk '{printf "."} END {print ""}' fi -if [ ! -f ./ServerStart.sh ]; then +if [[ $(find ${FTB_BASE_DIR} -name ServerStart.sh |wc -l) = 0 ]]; then echo "Please make sure you are using the server version of the FTB modpack!" exit 2 fi