Browse Source
fix: install successful without installation files (#4156)
* fix: install successful without files
* use fn_script_log_fatal
---------
Co-authored-by: Daniel Gibbs <[email protected]>
pull/4162/head
jusito
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
lgsm/functions/install_server_files.sh
|
@ -197,6 +197,9 @@ fn_install_server_files() { |
|
|
chmodx="nochmodx" run="norun" |
|
|
chmodx="nochmodx" run="norun" |
|
|
force="noforce" |
|
|
force="noforce" |
|
|
md5="0188ae86dbc9376f11ae3032dba2d665" |
|
|
md5="0188ae86dbc9376f11ae3032dba2d665" |
|
|
|
|
|
else |
|
|
|
|
|
fn_print_fail_nl "Installing ${gamename} Server failed, missing default configuration" |
|
|
|
|
|
fn_script_log_fatal "Installing ${gamename} Server failed, missing default configuration" |
|
|
fi |
|
|
fi |
|
|
fn_fetch_file "${remote_fileurl}" "" "" "" "${local_filedir}" "${local_filename}" "${chmodx}" "${run}" "${forcedl}" "${md5}" |
|
|
fn_fetch_file "${remote_fileurl}" "" "" "" "${local_filedir}" "${local_filename}" "${chmodx}" "${run}" "${forcedl}" "${md5}" |
|
|
fn_dl_extract "${local_filedir}" "${local_filename}" "${serverfiles}" |
|
|
fn_dl_extract "${local_filedir}" "${local_filename}" "${serverfiles}" |
|
|