mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
parent
f2806d9335
commit
ccac249c01
1 changed files with 6 additions and 1 deletions
|
@ -16,7 +16,12 @@ if [[ -z $FTB_SERVER_MOD ]]; then
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entryScriptExpr="-name ServerStart.sh -o -name ServerStartLinux.sh -o -name LaunchServer.sh"
|
entryScriptExpr="
|
||||||
|
-name ServerStart.sh
|
||||||
|
-o -name ServerStartLinux.sh
|
||||||
|
-o -name LaunchServer.sh
|
||||||
|
-o -name server-start.sh
|
||||||
|
"
|
||||||
|
|
||||||
if [[ -d ${FTB_BASE_DIR} ]]; then
|
if [[ -d ${FTB_BASE_DIR} ]]; then
|
||||||
startScriptCount=$(find ${FTB_BASE_DIR} $entryScriptExpr |wc -l)
|
startScriptCount=$(find ${FTB_BASE_DIR} $entryScriptExpr |wc -l)
|
||||||
|
|
Loading…
Reference in a new issue