Skip to content

Commit

Permalink
ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 29, 2024
1 parent 2700fa6 commit b5620f5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions lgsm/modules/core_messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -486,56 +486,56 @@ fn_print_info_eol_nl() {

# QUERYING
fn_print_querying_eol() {
echo -en "${cyan}QUERYING${default}"
echo -en " ... ${cyan}QUERYING${default}"
fn_sleep_time_1
}

fn_print_querying_eol_nl() {
echo -e "${cyan}QUERYING${default}"
echo -e " ... ${cyan}QUERYING${default}"
fn_sleep_time_1
}

# CHECKING
fn_print_checking_eol() {
echo -en "${cyan}CHECKING${default}"
echo -en " ... ${cyan}CHECKING${default}"
fn_sleep_time_1
}

fn_print_checking_eol_nl() {
echo -e "${cyan}CHECKING${default}"
echo -e " ... ${cyan}CHECKING${default}"
fn_sleep_time_1
}

# DELAY
fn_print_delay_eol() {
echo -en "${green}DELAY${default}"
echo -en " ... ${green}DELAY${default}"
fn_sleep_time_1
}

fn_print_delay_eol_nl() {
echo -e "${green}DELAY${default}"
echo -e " ... ${green}DELAY${default}"
fn_sleep_time_1
}

# CANCELED
fn_print_canceled_eol() {
echo -en "${lightyellow}CANCELED${default}"
echo -en " ... ${lightyellow}CANCELED${default}"
fn_sleep_time_1
}

fn_print_canceled_eol_nl() {
echo -e "${lightyellow}CANCELED${default}"
echo -e " ... ${lightyellow}CANCELED${default}"
fn_sleep_time_1
}

# REMOVED
fn_print_removed_eol() {
echo -en "${red}REMOVED${default}"
echo -en " ... ${red}REMOVED${default}"
fn_sleep_time_1
}

fn_print_removed_eol_nl() {
echo -e "${red}REMOVED${default}"
echo -e " ... ${red}REMOVED${default}"
fn_sleep_time_1
}

Expand Down
10 changes: 5 additions & 5 deletions linuxgsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ fn_bootstrap_fetch_file() {
fi
else
echo -en " ... OK"
sleep 0.3
echo -en "\033[2K\\r"
sleep "0.1"
echo -e "\033\\r"
if [ -f "${lgsmlog}" ]; then
fn_script_log_pass "Downloading ${local_filename}..."
fi
Expand Down Expand Up @@ -409,10 +409,10 @@ else
echo -en "copying _default.cfg...\c"
cp -R "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg"
if [ $? != 0 ]; then
echo -e "FAIL"
echo -e " ... FAIL"
exit 1
else
echo -e "OK"
echo -e " ... OK"
fi
else
config_file_diff=$(diff -q "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg")
Expand All @@ -424,7 +424,7 @@ else
echo -e "FAIL"
exit 1
else
echo -e "OK"
echo -e " ... OK"
fi
fi
fi
Expand Down

0 comments on commit b5620f5

Please sign in to comment.