mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-21 20:51:26 +00:00
Continues on empty lines from repoquery
This commit is contained in:
parent
e118e7a0fd
commit
078779f2e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user