Browse Source

ui changes

feature/dst-changes
Daniel Gibbs 6 months ago
parent
commit
b5620f5fde
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 20
      lgsm/modules/core_messages.sh
  2. 10
      linuxgsm.sh

20
lgsm/modules/core_messages.sh

@ -486,56 +486,56 @@ fn_print_info_eol_nl() {
# QUERYING # QUERYING
fn_print_querying_eol() { fn_print_querying_eol() {
echo -en "${cyan}QUERYING${default}" echo -en " ... ${cyan}QUERYING${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
fn_print_querying_eol_nl() { fn_print_querying_eol_nl() {
echo -e "${cyan}QUERYING${default}" echo -e " ... ${cyan}QUERYING${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
# CHECKING # CHECKING
fn_print_checking_eol() { fn_print_checking_eol() {
echo -en "${cyan}CHECKING${default}" echo -en " ... ${cyan}CHECKING${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
fn_print_checking_eol_nl() { fn_print_checking_eol_nl() {
echo -e "${cyan}CHECKING${default}" echo -e " ... ${cyan}CHECKING${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
# DELAY # DELAY
fn_print_delay_eol() { fn_print_delay_eol() {
echo -en "${green}DELAY${default}" echo -en " ... ${green}DELAY${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
fn_print_delay_eol_nl() { fn_print_delay_eol_nl() {
echo -e "${green}DELAY${default}" echo -e " ... ${green}DELAY${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
# CANCELED # CANCELED
fn_print_canceled_eol() { fn_print_canceled_eol() {
echo -en "${lightyellow}CANCELED${default}" echo -en " ... ${lightyellow}CANCELED${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
fn_print_canceled_eol_nl() { fn_print_canceled_eol_nl() {
echo -e "${lightyellow}CANCELED${default}" echo -e " ... ${lightyellow}CANCELED${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
# REMOVED # REMOVED
fn_print_removed_eol() { fn_print_removed_eol() {
echo -en "${red}REMOVED${default}" echo -en " ... ${red}REMOVED${default}"
fn_sleep_time_1 fn_sleep_time_1
} }
fn_print_removed_eol_nl() { fn_print_removed_eol_nl() {
echo -e "${red}REMOVED${default}" echo -e " ... ${red}REMOVED${default}"
fn_sleep_time_1 fn_sleep_time_1
} }

10
linuxgsm.sh

@ -152,8 +152,8 @@ fn_bootstrap_fetch_file() {
fi fi
else else
echo -en " ... OK" echo -en " ... OK"
sleep 0.3 sleep "0.1"
echo -en "\033[2K\\r" echo -e "\033\\r"
if [ -f "${lgsmlog}" ]; then if [ -f "${lgsmlog}" ]; then
fn_script_log_pass "Downloading ${local_filename}..." fn_script_log_pass "Downloading ${local_filename}..."
fi fi
@ -409,10 +409,10 @@ else
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 if [ $? != 0 ]; then
echo -e "FAIL" echo -e " ... FAIL"
exit 1 exit 1
else else
echo -e "OK" echo -e " ... OK"
fi fi
else else
config_file_diff=$(diff -q "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg") config_file_diff=$(diff -q "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg")
@ -424,7 +424,7 @@ else
echo -e "FAIL" echo -e "FAIL"
exit 1 exit 1
else else
echo -e "OK" echo -e " ... OK"
fi fi
fi fi
fi fi

Loading…
Cancel
Save