@@ -54,7 +54,7 @@ githubbranch="master"
54
54
# Core function that is required first.
55
55
core_functions.sh (){
56
56
functionfile=" ${FUNCNAME[0]} "
57
- fn_bootstrap_fetch_file_github " lgsm/functions" " core_functions.sh" " ${functionsdir} " " chmodx" " run" " noforcedl" " nohash "
57
+ fn_bootstrap_fetch_file_github " lgsm/functions" " core_functions.sh" " ${functionsdir} " " chmodx" " run" " noforcedl" " nomd5 "
58
58
}
59
59
60
60
# Bootstrap
331
331
# LinuxGSM installer mode.
332
332
if [ " ${shortname} " == " core" ]; then
333
333
# Download the latest serverlist. This is the complete list of all supported servers.
334
- fn_bootstrap_fetch_file_github " lgsm/data" " serverlist.csv" " ${datadir} " " nochmodx" " norun" " forcedl" " nohash "
334
+ fn_bootstrap_fetch_file_github " lgsm/data" " serverlist.csv" " ${datadir} " " nochmodx" " norun" " forcedl" " nomd5 "
335
335
if [ ! -f " ${serverlist} " ]; then
336
336
echo -e " [ FAIL ] serverlist.csv could not be loaded."
337
337
exit 1
376
376
# Load the default config. If missing download it. If changed reload it.
377
377
if [ ! -f " ${configdirdefault} /config-lgsm/${gameservername} /_default.cfg" ]; then
378
378
mkdir -p " ${configdirdefault} /config-lgsm/${gameservername} "
379
- fn_fetch_config " lgsm/config-default/config-lgsm/${gameservername} " " _default.cfg" " ${configdirdefault} /config-lgsm/${gameservername} " " _default.cfg" " nochmodx" " norun" " noforcedl" " nohash "
379
+ fn_fetch_config " lgsm/config-default/config-lgsm/${gameservername} " " _default.cfg" " ${configdirdefault} /config-lgsm/${gameservername} " " _default.cfg" " nochmodx" " norun" " noforcedl" " nomd5 "
380
380
fi
381
381
if [ ! -f " ${configdirserver} /_default.cfg" ]; then
382
382
mkdir -p " ${configdirserver} "
410
410
source " ${configdirserver} /_default.cfg"
411
411
# Load the common.cfg config. If missing download it.
412
412
if [ ! -f " ${configdirserver} /common.cfg" ]; then
413
- fn_fetch_config " lgsm/config-default/config-lgsm" " common-template.cfg" " ${configdirserver} " " common.cfg" " ${chmodx} " " nochmodx" " norun" " noforcedl" " nohash "
413
+ fn_fetch_config " lgsm/config-default/config-lgsm" " common-template.cfg" " ${configdirserver} " " common.cfg" " ${chmodx} " " nochmodx" " norun" " noforcedl" " nomd5 "
414
414
# shellcheck source=/dev/null
415
415
source " ${configdirserver} /common.cfg"
416
416
else
419
419
fi
420
420
# Load the secrets-common.cfg config. If missing download it.
421
421
if [ ! -f " ${configdirserver} /secrets-common.cfg" ]; then
422
- fn_fetch_config " lgsm/config-default/config-lgsm" " secrets-common-template.cfg" " ${configdirserver} " " secrets-common.cfg" " ${chmodx} " " nochmodx" " norun" " noforcedl" " nohash "
422
+ fn_fetch_config " lgsm/config-default/config-lgsm" " secrets-common-template.cfg" " ${configdirserver} " " secrets-common.cfg" " ${chmodx} " " nochmodx" " norun" " noforcedl" " nomd5 "
423
423
# shellcheck source=/dev/null
424
424
source " ${configdirserver} /secrets-common.cfg"
425
425
else
428
428
fi
429
429
# Load the instance.cfg config. If missing download it.
430
430
if [ ! -f " ${configdirserver} /${selfname} .cfg" ]; then
431
- fn_fetch_config " lgsm/config-default/config-lgsm" " instance-template.cfg" " ${configdirserver} " " ${selfname} .cfg" " nochmodx" " norun" " noforcedl" " nohash "
431
+ fn_fetch_config " lgsm/config-default/config-lgsm" " instance-template.cfg" " ${configdirserver} " " ${selfname} .cfg" " nochmodx" " norun" " noforcedl" " nomd5 "
432
432
# shellcheck source=/dev/null
433
433
source " ${configdirserver} /${selfname} .cfg"
434
434
else
437
437
fi
438
438
# Load the secrets-instance.cfg config. If missing download it.
439
439
if [ ! -f " ${configdirserver} /secrets-${selfname} .cfg" ]; then
440
- fn_fetch_config " lgsm/config-default/config-lgsm" " secrets-instance-template.cfg" " ${configdirserver} " " secrets-${selfname} .cfg" " nochmodx" " norun" " noforcedl" " nohash "
440
+ fn_fetch_config " lgsm/config-default/config-lgsm" " secrets-instance-template.cfg" " ${configdirserver} " " secrets-${selfname} .cfg" " nochmodx" " norun" " noforcedl" " nomd5 "
441
441
# shellcheck source=/dev/null
442
442
source " ${configdirserver} /secrets-${selfname} .cfg"
443
443
else
469
469
470
470
# Load the linuxgsm.sh in to tmpdir. If missing download it.
471
471
if [ ! -f " ${tmpdir} /linuxgsm.sh" ]; then
472
- fn_fetch_file_github " " " linuxgsm.sh" " ${tmpdir} " " chmodx" " norun" " noforcedl" " nohash "
472
+ fn_fetch_file_github " " " linuxgsm.sh" " ${tmpdir} " " chmodx" " norun" " noforcedl" " nomd5 "
473
473
fi
474
474
475
475
# Enables ANSI colours from core_messages.sh. Can be disabled with ansi=off.
0 commit comments