From 4d8e73b654c4da0ec3ad6eb8fb3fb53fa65aaa85 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Thu, 22 Jul 2021 16:35:47 +0530 Subject: [PATCH] fix colorized output in terminal Closes https://github.com/knadh/listmonk/issues/422 --- install-prod.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-prod.sh b/install-prod.sh index 397dffc2..891b3270 100644 --- a/install-prod.sh +++ b/install-prod.sh @@ -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() {