From 995a51a66548b1f913bafddbe5241d2ebdf778ca Mon Sep 17 00:00:00 2001 From: Nyx <144965845+nnyyxxxx@users.noreply.github.com> Date: Sat, 21 Sep 2024 10:20:50 -0400 Subject: [PATCH] Use more colors in common-script (#574) Co-authored-by: nnyyxxxx --- core/tabs/common-script.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/tabs/common-script.sh b/core/tabs/common-script.sh index c6003a84..3e32647f 100644 --- a/core/tabs/common-script.sh +++ b/core/tabs/common-script.sh @@ -20,7 +20,7 @@ checkAURHelper() { for helper in ${AUR_HELPERS}; do if command_exists "${helper}"; then AUR_HELPER=${helper} - printf "%b\n" "Using ${helper} as AUR helper" + printf "%b\n" "${CYAN}Using ${helper} as AUR helper${RC}" AUR_HELPER_CHECKED=true return 0 fi @@ -49,7 +49,7 @@ checkEscalationTool() { for tool in ${ESCALATION_TOOLS}; do if command_exists "${tool}"; then ESCALATION_TOOL=${tool} - printf "%b\n" "Using ${tool} for privilege escalation" + printf "%b\n" "${CYAN}Using ${tool} for privilege escalation${RC}" ESCALATION_TOOL_CHECKED=true return 0 fi @@ -77,7 +77,7 @@ checkPackageManager() { for pgm in ${PACKAGEMANAGER}; do if command_exists "${pgm}"; then PACKAGER=${pgm} - printf "%b\n" "Using ${pgm}" + printf "%b\n" "${CYAN}Using ${pgm} as package manager${RC}" break fi done @@ -94,7 +94,7 @@ checkSuperUser() { for sug in ${SUPERUSERGROUP}; do if groups | grep -q "${sug}"; then SUGROUP=${sug} - printf "%b\n" "Super user group ${SUGROUP}" + printf "%b\n" "${CYAN}Super user group ${SUGROUP}${RC}" break fi done