Added server-start.sh support for CF modpacks

Fixes #540
This commit is contained in:
Geoff Bourne 2020-05-23 09:55:38 -05:00
parent f2806d9335
commit ccac249c01

View file

@ -16,7 +16,12 @@ if [[ -z $FTB_SERVER_MOD ]]; then
exit 2
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
startScriptCount=$(find ${FTB_BASE_DIR} $entryScriptExpr |wc -l)