testing
This commit is contained in:
parent
96aa330611
commit
05044d32cc
1 changed files with 4 additions and 2 deletions
6
test.sh
6
test.sh
|
@ -58,11 +58,13 @@ spin-get-dependencies() {
|
|||
debian | ubuntu | arch | fedora | alpine | opensuse)
|
||||
for pkg in "${pkgArray[@]}"; do
|
||||
if ! command_exists $pkg; then
|
||||
deplist+=$(printf "%d\n" "$pkg")
|
||||
mapfile -t deplist < <(printf "%d\n" "$pkg")
|
||||
fi
|
||||
done
|
||||
|
||||
pkglist+="${deplist[@]}"
|
||||
pkglist=()
|
||||
|
||||
pkglist="${deplist[@]}"
|
||||
|
||||
echo "${pkglist[*]}"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue