Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more colors in common-script #574

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions core/tabs/common-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down