Skip to content

Commit

Permalink
fix(steamcmd): resolve disk write failure bug (#3483)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 authored Jun 9, 2021
1 parent 2a7fd6f commit d376862
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lgsm/functions/check_steamcmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 7 additions & 0 deletions lgsm/functions/core_steamcmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d376862

Please sign in to comment.