Browse Source

fix(steamcmd): resolve disk write failure bug (#3483)

pull/3484/head
Daniel Gibbs 4 years ago
committed by GitHub
parent
commit
d3768620ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lgsm/functions/check_steamcmd.sh
  2. 7
      lgsm/functions/core_steamcmd.sh

1
lgsm/functions/check_steamcmd.sh

@ -17,5 +17,6 @@ if [ ${shortname} == "ark" ]; then
fi
fn_check_steamcmd_dir
fn_check_steamcmd_dir_legacy
fn_check_steamcmd_steamapp
fn_check_steamcmd_user
fn_check_steamcmd_exec

7
lgsm/functions/core_steamcmd.sh

@ -97,6 +97,13 @@ fn_check_steamcmd_dir_legacy(){
fi
}
fn_check_steamcmd_steamapp(){
# Check that steamapp directory fixes issue #3481
if [ ! -d "${serverfiles}/steamapps" ]; then
mkdir -p "${serverfiles}/steamapps"
fi
}
fn_check_steamcmd_ark(){
# Checks if SteamCMD exists in
# Engine/Binaries/ThirdParty/SteamCMD/Linux

Loading…
Cancel
Save