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