This commit is contained in:
pika 2025-05-18 18:37:43 +02:00
parent b3a950cfa5
commit 6b65f8750a

View file

@ -11,12 +11,19 @@ alpine="false"
opensuse="false"
# ─< ANSI color codes >───────────────────────────────────────────────────────────────────
RED='\033[0;31m'
CYAN='\033[0;36m'
YELLOW='\033[0;33m'
LIGHT_GREEN='\033[0;92m'
BOLD='\033[1m'
NC='\033[0m' # No Color
# RED='\033[0;31m'
# CYAN='\033[0;36m'
# YELLOW='\033[0;33m'
# LIGHT_GREEN='\033[0;92m'
# BOLD='\033[1m'
# NC='\033[0m' # No Color
RED=$'\e[31m'
GREEN=$'\e[32m'
YELLOW=$'\e[33m'
BLUE=$'\e[34m'
BOLD=$'\e[1m'
NC=$'\e[0m'
echo_error() {
printf "${BOLD}${RED}ERROR: ${NC}${RED}%s${NC}\n" "$1" >&2
@ -64,7 +71,7 @@ checkAndInstall() {
fi
else
# ─< else go though the list of items and do the same >───────────────────────────────────
printf "${YELLOW} Installing package group - ${RED} %s ${NC}" "$@"
echo "${YELLOW} Installing package group - ${RED} $@ ${NC}"
for deps in "${@}"; do
echo_info "Installing $deps"
if ! command_exists $deps; then