mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-24 22:50:29 +00:00
mc: adjust FTB server pack check to look in subdirs
This commit is contained in:
@@ -68,7 +68,7 @@ if [[ $startScriptCount = 0 ]]; then
|
|||||||
unzip -o ${srv_modpack} -d ${FTB_BASE_DIR} | awk '{printf "."} END {print ""}'
|
unzip -o ${srv_modpack} -d ${FTB_BASE_DIR} | awk '{printf "."} END {print ""}'
|
||||||
fi
|
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!"
|
echo "Please make sure you are using the server version of the FTB modpack!"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user