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