Răsfoiți Sursa

Merge branch 'hotfix/v24.3.2'

Daniel Gibbs 1 an în urmă
părinte
comite
2178ecb699
4 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 1 1
      lgsm/modules/core_modules.sh
  2. 1 1
      lgsm/modules/info_game.sh
  3. 1 1
      lgsm/modules/update_fctr.sh
  4. 1 1
      linuxgsm.sh

+ 1 - 1
lgsm/modules/core_modules.sh

@@ -8,7 +8,7 @@
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-modulesversion="v24.3.1"
+modulesversion="v24.3.2"
 
 # Core
 

+ 1 - 1
lgsm/modules/info_game.sh

@@ -1310,7 +1310,7 @@ fn_info_game_fctr() {
 	# get server version if installed.
 	local factoriobin="${executabledir}${executable:1}"
 	if [ -f "${factoriobin}" ]; then
-		serverversion="$(${factoriobin} --version | grep "Version:" | awk '{print $2}')"
+		serverversion="$(${factoriobin} --version | grep -m 1 "Version:" | awk '{print $2}')"
 	fi
 }
 

+ 1 - 1
lgsm/modules/update_fctr.sh

@@ -20,7 +20,7 @@ fn_update_localbuild() {
 	# Uses executable to get local build.
 	if [ -d "${executabledir}" ]; then
 		cd "${executabledir}" || exit
-		localbuild=$(${executable} --version | grep "Version:" | awk '{print $2}')
+		localbuild=$(${executable} --version | grep -m 1 "Version:" | awk '{print $2}')
 	fi
 	if [ -z "${localbuild}" ]; then
 		fn_print_error "Checking local build: ${remotelocation}: missing local build info"

+ 1 - 1
linuxgsm.sh

@@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v24.3.1"
+version="v24.3.2"
 shortname="core"
 gameservername="core"
 commandname="CORE"