diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index df4b49b4d..33c6a745b 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -2,7 +2,7 @@ # LGSM check_deps.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com -lgsm_version="210516" +lgsm_version="270516" # Description: Checks that the requires dependencies are installed for LGSM. @@ -126,7 +126,7 @@ if [ -n "$(command -v dpkg-query)" ]; then array_deps_missing=() # LGSM requirement for curl - array_deps_required=( curl ca-certificates ) + array_deps_required=( curl ca-certificates file ) # All servers except ts3 require tmux if [ "${executable}" != "./ts3server_startscript.sh" ]; then diff --git a/lgsm/functions/fix_arma3.sh b/lgsm/functions/fix_arma3.sh index 49f4e830e..cc3c2aaf0 100644 --- a/lgsm/functions/fix_arma3.sh +++ b/lgsm/functions/fix_arma3.sh @@ -2,12 +2,12 @@ # LGSM fix_arma3.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com -lgsm_version="210516" +lgsm_version="240516" -# Fixes: server not always creating steam_appid.txt file. -if [ ! -d "${rootdir}/.local/share/Arma\ 3" ]; then +# Fixes: 20150 Segmentation fault (core dumped) error. +if [ ! -d "${HOME}/.local/share/Arma 3" ]||[ ! -d "${HOME}/.local/share/Arma 3 - Other Profiles" ]; then fixname="20150 Segmentation fault (core dumped)" fn_fix_msg_start - mkdir -p "${rootdir}/.local/share/Arma\ 3" + mkdir -p "${HOME}/.local/share/Arma 3 - Other Profiles" fn_fix_msg_end fi \ No newline at end of file