Explorar o código

Merge remote-tracking branch 'refs/remotes/origin/master' into development

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
6d709d98f3
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 2 2
      lgsm/functions/check_deps.sh
  2. 4 4
      lgsm/functions/fix_arma3.sh

+ 2 - 2
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

+ 4 - 4
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