Merge pull request #423 from mr-karan/install_fix

fix colorized output in terminal
This commit is contained in:
Kailash Nadh 2021-07-22 17:05:35 +05:30 committed by GitHub
commit b7a25e5a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ 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() {
@ -20,7 +20,7 @@ error() {
}
completed() {
printf '%s\n' "${GREEN}${GREEN} $*"
printf '%s\n' "${GREEN} ${NO_COLOR} $*"
}
exists() {