diff --git a/updater.sh b/updater.sh index f76f5ca..6066939 100755 --- a/updater.sh +++ b/updater.sh @@ -57,8 +57,9 @@ printf_color() { } printf_color_newline() { - printf_color "$@" - echo + PROVIDED_COLOR="$1" + shift + printf "${PROVIDED_COLOR}%s${NC}\n" "$*" } warn() { @@ -81,6 +82,7 @@ else exit 1 fi + show_banner() { printf_color_newline "${BBLUE}" ' ############################################################################