Skip to content

Commit

Permalink
Merge pull request knadh#423 from mr-karan/install_fix
Browse files Browse the repository at this point in the history
fix colorized output in terminal
  • Loading branch information
knadh authored Jul 22, 2021
2 parents 9e61bfc + 4d8e73b commit b7a25e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ GREEN="$(tput setaf 2 2>/dev/null || printf '')"
NO_COLOR="$(tput sgr0 2>/dev/null || printf '')"

info() {
printf '%s\n' "${BLUE}>${NO_COLOR} $*"
printf '%s\n' "${BLUE}> ${NO_COLOR} $*"
}

error() {
printf '%s\n' "${RED}x $*${NO_COLOR}" >&2
}

completed() {
printf '%s\n' "${GREEN}${GREEN} $*"
printf '%s\n' "${GREEN} ${NO_COLOR} $*"
}

exists() {
Expand Down

0 comments on commit b7a25e5

Please sign in to comment.