Browse Source

ui updates

feature/dst-changes
Daniel Gibbs 6 months ago
parent
commit
329d779e56
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 4
      lgsm/modules/core_dl.sh
  2. 9
      linuxgsm.sh

4
lgsm/modules/core_dl.sh

@ -277,11 +277,11 @@ fn_dl_extract() {
# Trap to remove file download if canceled before completed. # Trap to remove file download if canceled before completed.
fn_fetch_trap() { fn_fetch_trap() {
echo -e "" echo -e ""
echo -en "downloading ${local_filename}..." echo -en "downloading ${local_filename}"
fn_print_canceled_eol_nl fn_print_canceled_eol_nl
fn_script_log_info "Downloading ${local_filename}...CANCELED" fn_script_log_info "Downloading ${local_filename}...CANCELED"
rm -f "${local_filedir:?}/${local_filename}" rm -f "${local_filedir:?}/${local_filename}"
echo -en "downloading ${local_filename}..." echo -en "downloading ${local_filename}"
fn_print_removed_eol_nl fn_print_removed_eol_nl
fn_script_log_info "Downloading ${local_filename}...REMOVED" fn_script_log_info "Downloading ${local_filename}...REMOVED"
core_exit.sh core_exit.sh

9
linuxgsm.sh

@ -72,11 +72,11 @@ core_modules.sh() {
# Fetches the core modules required before passed off to core_dl.sh. # Fetches the core modules required before passed off to core_dl.sh.
fn_bootstrap_fetch_trap() { fn_bootstrap_fetch_trap() {
echo -e "" echo -e ""
echo -en "downloading ${local_filename}..." echo -en "downloading ${local_filename}"
fn_print_canceled_eol_nl fn_print_canceled_eol_nl
fn_script_log_info "Downloading ${local_filename}...CANCELED" fn_script_log_info "Downloading ${local_filename}...CANCELED"
rm -f "${local_filedir:?}/${local_filename}" rm -f "${local_filedir:?}/${local_filename}"
echo -en "downloading ${local_filename}..." echo -en "downloading ${local_filename}"
fn_print_removed_eol_nl fn_print_removed_eol_nl
fn_script_log_info "Downloading ${local_filename}...REMOVED" fn_script_log_info "Downloading ${local_filename}...REMOVED"
core_exit.sh core_exit.sh
@ -418,9 +418,10 @@ else
fi fi
if [ ! -f "${configdirserver}/_default.cfg" ]; then if [ ! -f "${configdirserver}/_default.cfg" ]; then
mkdir -p "${configdirserver}" mkdir -p "${configdirserver}"
echo -en "copying _default.cfg...\c" echo -en "copying _default.cfg\c"
cp -R "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg" cp -R "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg"
if [ $? != 0 ]; then exitcode=$?
if [ "${exitcode}" != 0 ]; then
echo -e " ... FAIL" echo -e " ... FAIL"
exit 1 exit 1
else else

Loading…
Cancel
Save