Continues on empty lines from repoquery

This commit is contained in:
Brett C 2021-06-22 18:35:39 +10:00
parent e118e7a0fd
commit 078779f2e6

View File

@ -265,6 +265,9 @@ repoinfo () {
fi
declare -gA repoinfo_results=()
while IFS=" :" read -r name val; do
if [[ -z $name ]] && [[ -z $val ]]; then
continue
fi
if [[ -z $name ]]; then
repoinfo_results[$prev]+=" $val"
else