mirror of
https://github.com/knadh/listmonk.git
synced 2025-10-04 04:14:43 +08:00
Merge pull request #423 from mr-karan/install_fix
fix colorized output in terminal
This commit is contained in:
commit
b7a25e5a32
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue