wip
This commit is contained in:
parent
75e32097ae
commit
f060ad735f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue