File tree Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -190,15 +190,15 @@ fn_backup_prune() {
190190fn_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} "
Original file line number Diff line number Diff line change 88
99moduleselfname=" $( basename " $( readlink -f " ${BASH_SOURCE[0]} " ) " ) "
1010
11- modulesversion=" v25.1.1 "
11+ modulesversion=" v25.1.3 "
1212
1313# Core
1414
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ remotelocation="github.com"
154154
155155if [ " $( 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
159159fi
160160
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ remotelocation="mojang.com"
169169
170170if [ " $( 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
174174fi
175175
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ remotelocation="minecraft.net"
177177
178178if [ " $( 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
182182fi
183183
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ remotelocation="linux.mtasa.com"
162162
163163if [ " $( 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
167167fi
168168
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ remotelocation="papermc.io"
179179
180180if [ " $( 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
184184fi
185185
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ remotelocation="teamspeak.com"
173173
174174if [ " $( 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
178178fi
179179
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ remotelocation="github.com"
155155
156156if [ " $( 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
160160fi
161161
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ remotelocation="vintagestory.at"
162162
163163if [ " $( 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
167167fi
168168
You can’t perform that action at this time.
0 commit comments