Skip to content

Commit 93486cc

Browse files
committed
Merge branch 'hotfix/v25.1.3'
2 parents 5eeb9b5 + 5e5cd30 commit 93486cc

12 files changed

+13
-13
lines changed

lgsm/modules/command_backup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ fn_backup_prune() {
190190
fn_backup_relpath() {
191191
# Written by CedarLUG as a "realpath --relative-to" alternative in bash.
192192
# Populate an array of tokens initialized from the rootdir components.
193-
mapfile -t rdirtoks < <(readlink -f "${rootdir}" | sed "s/\// /g")
193+
declare -a rdirtoks=($(readlink -f "${rootdir}" | sed "s/\// /g"))
194194
if [ ${#rdirtoks[@]} -eq 0 ]; then
195195
fn_print_fail_nl "Problem assessing rootdir during relative path assessment"
196196
fn_script_log_fail "Problem assessing rootdir during relative path assessment: ${rootdir}"
197197
core_exit.sh
198198
fi
199199

200200
# Populate an array of tokens initialized from the backupdir components.
201-
mapfile -t bdirtoks < <(readlink -f "${backupdir}" | sed "s/\// /g")
201+
declare -a bdirtoks=($(readlink -f "${backupdir}" | sed "s/\// /g"))
202202
if [ ${#bdirtoks[@]} -eq 0 ]; then
203203
fn_print_fail_nl "Problem assessing backupdir during relative path assessment"
204204
fn_script_log_fail "Problem assessing backupdir during relative path assessment: ${rootdir}"

lgsm/modules/core_modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
1010

11-
modulesversion="v25.1.1"
11+
modulesversion="v25.1.3"
1212

1313
# Core
1414

lgsm/modules/update_jk2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ remotelocation="github.com"
154154

155155
if [ "$(command -v jq 2> /dev/null)" ]; then
156156
fn_print_fail_nl "jq is not installed"
157-
fn_script_log_fatal "jq is not installed"
157+
fn_script_log_fail "jq is not installed"
158158
core_exit.sh
159159
fi
160160

lgsm/modules/update_mc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ remotelocation="mojang.com"
169169

170170
if [ "$(command -v jq 2> /dev/null)" ]; then
171171
fn_print_fail_nl "jq is not installed"
172-
fn_script_log_fatal "jq is not installed"
172+
fn_script_log_fail "jq is not installed"
173173
core_exit.sh
174174
fi
175175

lgsm/modules/update_mcb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ remotelocation="minecraft.net"
177177

178178
if [ "$(command -v jq 2> /dev/null)" ]; then
179179
fn_print_fail_nl "jq is not installed"
180-
fn_script_log_fatal "jq is not installed"
180+
fn_script_log_fail "jq is not installed"
181181
core_exit.sh
182182
fi
183183

lgsm/modules/update_mta.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ remotelocation="linux.mtasa.com"
162162

163163
if [ "$(command -v jq 2> /dev/null)" ]; then
164164
fn_print_fail_nl "jq is not installed"
165-
fn_script_log_fatal "jq is not installed"
165+
fn_script_log_fail "jq is not installed"
166166
core_exit.sh
167167
fi
168168

lgsm/modules/update_pmc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ remotelocation="papermc.io"
179179

180180
if [ "$(command -v jq 2> /dev/null)" ]; then
181181
fn_print_fail_nl "jq is not installed"
182-
fn_script_log_fatal "jq is not installed"
182+
fn_script_log_fail "jq is not installed"
183183
core_exit.sh
184184
fi
185185

lgsm/modules/update_ts3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ remotelocation="teamspeak.com"
173173

174174
if [ "$(command -v jq 2> /dev/null)" ]; then
175175
fn_print_fail_nl "jq is not installed"
176-
fn_script_log_fatal "jq is not installed"
176+
fn_script_log_fail "jq is not installed"
177177
core_exit.sh
178178
fi
179179

lgsm/modules/update_ut99.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ remotelocation="github.com"
155155

156156
if [ "$(command -v jq 2> /dev/null)" ]; then
157157
fn_print_fail_nl "jq is not installed"
158-
fn_script_log_fatal "jq is not installed"
158+
fn_script_log_fail "jq is not installed"
159159
core_exit.sh
160160
fi
161161

lgsm/modules/update_vints.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ remotelocation="vintagestory.at"
162162

163163
if [ "$(command -v jq 2> /dev/null)" ]; then
164164
fn_print_fail_nl "jq is not installed"
165-
fn_script_log_fatal "jq is not installed"
165+
fn_script_log_fail "jq is not installed"
166166
core_exit.sh
167167
fi
168168

0 commit comments

Comments
 (0)