Skip to content

Commit

Permalink
refactor: improve console output in core_dl.sh and linuxgsm.sh
Browse files Browse the repository at this point in the history
- Refactored code to improve the console output in core_dl.sh and linuxgsm.sh.
- Updated echo statements to provide more informative messages.
- Removed unnecessary characters from the console output.
  • Loading branch information
dgibbs64 committed Sep 26, 2023
1 parent 88e2591 commit 91bd38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lgsm/modules/core_dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ fn_fetch_file() {
"${curlcmd[@]}" --progress-bar "${fileurl}" 2>&1
exitcode="$?"
else
echo -en "${dim}fetching from ${fileurl_name} ${local_filename} ... \c${default}"
echo -en "${dim}fetching from ${fileurl_name} ( ${local_filename} )\c"
"${curlcmd[@]}" --silent --show-error "${fileurl}" 2>&1
exitcode="$?"
fi
Expand Down
2 changes: 1 addition & 1 deletion linuxgsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fn_bootstrap_fetch_file() {
fi
fi
else
echo -en " [ OK ]"
echo -en "OK"
sleep 0.3
echo -en "\033[2K\\r"
if [ -f "${lgsmlog}" ]; then
Expand Down

0 comments on commit 91bd38f

Please sign in to comment.