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() {
190
190
fn_backup_relpath () {
191
191
# Written by CedarLUG as a "realpath --relative-to" alternative in bash.
192
192
# 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" ) )
194
194
if [ ${# rdirtoks[@]} -eq 0 ]; then
195
195
fn_print_fail_nl " Problem assessing rootdir during relative path assessment"
196
196
fn_script_log_fail " Problem assessing rootdir during relative path assessment: ${rootdir} "
197
197
core_exit.sh
198
198
fi
199
199
200
200
# 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" ) )
202
202
if [ ${# bdirtoks[@]} -eq 0 ]; then
203
203
fn_print_fail_nl " Problem assessing backupdir during relative path assessment"
204
204
fn_script_log_fail " Problem assessing backupdir during relative path assessment: ${rootdir} "
Original file line number Diff line number Diff line change 8
8
9
9
moduleselfname=" $( basename " $( readlink -f " ${BASH_SOURCE[0]} " ) " ) "
10
10
11
- modulesversion=" v25.1.1 "
11
+ modulesversion=" v25.1.3 "
12
12
13
13
# Core
14
14
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ remotelocation="github.com"
154
154
155
155
if [ " $( command -v jq 2> /dev/null) " ]; then
156
156
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"
158
158
core_exit.sh
159
159
fi
160
160
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ remotelocation="mojang.com"
169
169
170
170
if [ " $( command -v jq 2> /dev/null) " ]; then
171
171
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"
173
173
core_exit.sh
174
174
fi
175
175
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ remotelocation="minecraft.net"
177
177
178
178
if [ " $( command -v jq 2> /dev/null) " ]; then
179
179
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"
181
181
core_exit.sh
182
182
fi
183
183
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ remotelocation="linux.mtasa.com"
162
162
163
163
if [ " $( command -v jq 2> /dev/null) " ]; then
164
164
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"
166
166
core_exit.sh
167
167
fi
168
168
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ remotelocation="papermc.io"
179
179
180
180
if [ " $( command -v jq 2> /dev/null) " ]; then
181
181
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"
183
183
core_exit.sh
184
184
fi
185
185
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ remotelocation="teamspeak.com"
173
173
174
174
if [ " $( command -v jq 2> /dev/null) " ]; then
175
175
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"
177
177
core_exit.sh
178
178
fi
179
179
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ remotelocation="github.com"
155
155
156
156
if [ " $( command -v jq 2> /dev/null) " ]; then
157
157
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"
159
159
core_exit.sh
160
160
fi
161
161
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ remotelocation="vintagestory.at"
162
162
163
163
if [ " $( command -v jq 2> /dev/null) " ]; then
164
164
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"
166
166
core_exit.sh
167
167
fi
168
168
You can’t perform that action at this time.
0 commit comments