Daniel Gibbs 1 год назад
Родитель
Сommit
8546c2fb99

+ 2 - 2
lgsm/modules/command_backup.sh

@@ -190,7 +190,7 @@ fn_backup_prune() {
 fn_backup_relpath() {
 	# Written by CedarLUG as a "realpath --relative-to" alternative in bash.
 	# Populate an array of tokens initialized from the rootdir components.
-	mapfile -t rdirtoks < <(readlink -f "${rootdir}" | sed "s/\// /g")
+	declare -a rdirtoks=($(readlink -f "${rootdir}" | sed "s/\// /g"))
 	if [ ${#rdirtoks[@]} -eq 0 ]; then
 		fn_print_fail_nl "Problem assessing rootdir during relative path assessment"
 		fn_script_log_fail "Problem assessing rootdir during relative path assessment: ${rootdir}"
@@ -198,7 +198,7 @@ fn_backup_relpath() {
 	fi
 
 	# Populate an array of tokens initialized from the backupdir components.
-	mapfile -t bdirtoks < <(readlink -f "${backupdir}" | sed "s/\// /g")
+	declare -a bdirtoks=($(readlink -f "${backupdir}" | sed "s/\// /g"))
 	if [ ${#bdirtoks[@]} -eq 0 ]; then
 		fn_print_fail_nl "Problem assessing backupdir during relative path assessment"
 		fn_script_log_fail "Problem assessing backupdir during relative path assessment: ${rootdir}"

+ 1 - 1
lgsm/modules/core_modules.sh

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

+ 1 - 1
lgsm/modules/update_jk2.sh

@@ -154,7 +154,7 @@ remotelocation="github.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_mc.sh

@@ -169,7 +169,7 @@ remotelocation="mojang.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_mcb.sh

@@ -177,7 +177,7 @@ remotelocation="minecraft.net"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_mta.sh

@@ -162,7 +162,7 @@ remotelocation="linux.mtasa.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_pmc.sh

@@ -179,7 +179,7 @@ remotelocation="papermc.io"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_ts3.sh

@@ -173,7 +173,7 @@ remotelocation="teamspeak.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_ut99.sh

@@ -155,7 +155,7 @@ remotelocation="github.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_vints.sh

@@ -162,7 +162,7 @@ remotelocation="vintagestory.at"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
lgsm/modules/update_xnt.sh

@@ -162,7 +162,7 @@ remotelocation="github.com"
 
 if [ "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
-	fn_script_log_fatal "jq is not installed"
+	fn_script_log_fail "jq is not installed"
 	core_exit.sh
 fi
 

+ 1 - 1
linuxgsm.sh

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