testing colors again

This commit is contained in:
pika 2025-05-19 11:04:08 +02:00
parent b121054a3b
commit 8c9480d788

View file

@ -107,15 +107,15 @@ echo_pkg() {
} }
echo_info() { echo_info() {
echo "${BOLD}${BRIGHT_BLUE}INFO:${NC}${BLUE} $1 ${NC}" echo "${BOLD}${BLUE}INFO:${BRIGHT_BLUE} $1 ${NC}"
} }
echo_warning() { echo_warning() {
echo "${BOLD}${BRIGHT_YELLOW}WARNING:${NC}${YELLOW} $1 ${NC}" echo "${BOLD}${YELLOW}WARNING:${BRIGHT_YELLOW} $1 ${NC}"
} }
echo_note() { echo_note() {
echo "${BOLD}${BRIGHT_GREEN}NOTE:${NC}${GREEN} $1 ${NC}" echo "${BOLD}${GREEN}NOTE:${BRIGHT_GREEN} $1 ${NC}"
} }
# ─< Check if the given command exists silently >───────────────────────────────────────── # ─< Check if the given command exists silently >─────────────────────────────────────────
@ -147,7 +147,7 @@ checkAndInstall() {
echo_pkg deps "$1 is already installed.." echo_pkg deps "$1 is already installed.."
fi fi
else else
echo_pkg deps "skipping $1 - as it's already installed.." echo_pkg deps "skipping $1 - as it's ${RED}already installed.."
fi fi
else else
# ─< else go though the list of items and do the same >─────────────────────────────────── # ─< else go though the list of items and do the same >───────────────────────────────────
@ -161,7 +161,7 @@ checkAndInstall() {
echo_pkg deps "$deps is already installed.." echo_pkg deps "$deps is already installed.."
fi fi
else else
echo_pkg deps "skipping $deps - as it's already installed.." echo_pkg deps "skipping $1 - as it's ${RED}already installed.."
fi fi
done done
fi fi