From f060ad735f6fad6df4a6746f94c0224ecdac19a9 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 18 May 2025 18:30:16 +0200 Subject: [PATCH] wip --- distros.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distros.sh b/distros.sh index 1cf821b..643e90e 100755 --- a/distros.sh +++ b/distros.sh @@ -51,6 +51,7 @@ run() { fi } +# if given an array, it checks if the command is available, and if not - installs all packages in that array one by one checkAndInstall() { # echo "DEBUG:: GOT ARRAY :: ${@}" # ─< if it's not a list, then just check and install the package.. >────────────────────── @@ -63,6 +64,7 @@ checkAndInstall() { fi else # ─< else go though the list of items and do the same >─────────────────────────────────── + echo "${YELLOW} Installing package group - ${RED} $@ ${NC}" for deps in "${@}"; do echo_info "Installing $deps" if ! command_exists $deps; then