This commit is contained in:
pika 2025-05-19 11:00:41 +02:00
parent cfc04a18c0
commit b121054a3b

View file

@ -97,7 +97,7 @@ echo_pkg() {
else else
case "$1" in case "$1" in
deps) deps)
echo "${BOLD}${RED}${PACKAGE:-PKG}-dependencies:${NC}${YELLOW} $2 ${NC}" echo "${BOLD}${RED}${PACKAGE:-PKG}-dependencies:${BRIGHT_YELLOW} $2 ${NC}"
;; ;;
*) *)
echo "${BOLD}${RED}${PACKAGE:-PKG}-$1:${NC}${YELLOW} $2 ${NC}" echo "${BOLD}${RED}${PACKAGE:-PKG}-$1:${NC}${YELLOW} $2 ${NC}"
@ -153,7 +153,7 @@ checkAndInstall() {
# ─< else go though the list of items and do the same >─────────────────────────────────── # ─< else go though the list of items and do the same >───────────────────────────────────
echo_pkg deps "${BRIGHT_YELLOW}Installing ${RED}${#@}${BRIGHT_YELLOW} packages.. - ${BRIGHT_BLUE} $* ${NC}" echo_pkg deps "${BRIGHT_YELLOW}Installing ${RED}${#@}${BRIGHT_YELLOW} packages.. - ${BRIGHT_BLUE} $* ${NC}"
for deps in "${@}"; do for deps in "${@}"; do
echo_pkg deps "Installing $deps" # echo_pkg deps "Installing $deps"
if ! command_exists $deps; then if ! command_exists $deps; then
if run _install "$deps"; then if run _install "$deps"; then
echo_pkg deps "$deps - ${GREEN}installed" echo_pkg deps "$deps - ${GREEN}installed"