Browse Source

add fn_print and fn_print_nl

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

2
lgsm/modules/core_dl.sh

@ -129,7 +129,7 @@ fn_dl_steamcmd() {
fn_script_log_error "${commandaction} ${selfname}: ${remotelocation}: Missing update files"
else
fn_print_error2_nl "${commandaction} ${selfname}: ${remotelocation}: Unknown error occured"
echo -en "Please provide content log to LinuxGSM developers https://linuxgsm.com/steamcmd-error"
fn_print_nl "Please provide content log to LinuxGSM developers https://linuxgsm.com/steamcmd-error"
fn_script_log_error "${commandaction} ${selfname}: ${remotelocation}: Unknown error occured"
fi
elif [ "${exitcode}" != 0 ]; then

10
lgsm/modules/core_messages.sh

@ -140,6 +140,16 @@ fn_script_log_info() {
# On-Screen - Automated functions
##################################
fn_print() {
echo -en "$*"
fn_sleep_time
}
fn_print_nl() {
echo -e "$*"
fn_sleep_time
}
# [ .... ]
fn_print_dots() {
if [ "${commandaction}" ]; then

Loading…
Cancel
Save