mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-09 18:36:19 +00:00
mc: adjust FTB server pack check to look in subdirs
This commit is contained in:
1 parent
1c24dc1def
commit
b910a7dbe5
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user