a fix for multiple dependencies.

This commit is contained in:
Jack L. Frost 2015-01-29 12:35:07 +03:00
parent 2ab2fdd126
commit aa8929ff8e

2
zpac
View File

@ -86,7 +86,7 @@ aur.get() {
aur_deps_count=$( jshon -e resultcount <<< "$aur_deps_api_data" ) aur_deps_count=$( jshon -e resultcount <<< "$aur_deps_api_data" )
if (( aur_deps_count )); then if (( aur_deps_count )); then
aur_deps=$( jshon -e results -a -e Name -u <<< "$aur_deps_api_data" ) aur_deps=( $( jshon -e results -a -e Name -u <<< "$aur_deps_api_data" ) )
for i in "${aur_deps[@]}"; do for i in "${aur_deps[@]}"; do
aur.get < <(aur.info "$i") || { aur.get < <(aur.info "$i") || {