mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Merge pull request #387 from klightspeed/1.5-dev#warnmodbranch
Warn of known issues when mod_branch=Linux
This commit is contained in:
commit
8f2c9d2b7d
@ -212,6 +212,11 @@ checkConfig() {
|
||||
done
|
||||
fi
|
||||
|
||||
# Warn if mod_branch=Linux
|
||||
if [ "$mod_branch" == "Linux" -a -z "$nowarnmodbranch" ]; then
|
||||
echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tmod_branch is set to Linux. Linux mods are known to cause the server to crash. It is suggested you set mod_branch to Windows."
|
||||
fi
|
||||
|
||||
# Service configuration
|
||||
# logdir
|
||||
if [ ! -w "$logdir" ] ; then
|
||||
@ -1198,7 +1203,7 @@ isModUpdateNeeded(){
|
||||
local modid=$1
|
||||
local modsrcdir="$steamcmdroot/steamapps/workshop/content/$mod_appid/$modid"
|
||||
local moddestdir="$arkserverroot/ShooterGame/Content/Mods/$modid"
|
||||
local modbranch="${mod_branch:-Linux}"
|
||||
local modbranch="${mod_branch:-Windows}"
|
||||
|
||||
for varname in "${!mod_branch_@}"; do
|
||||
if [ "mod_branch_$modid" == "$varname" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user