mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-25 06:31:24 +00:00
Merge pull request #38 from breca/main
Continues on empty lines from repoquery
This commit is contained in:
commit
062f6c44bd
@ -268,6 +268,9 @@ repoinfo () {
|
||||
fi
|
||||
declare -gA repoinfo_results=()
|
||||
while IFS=" :" read -r name val; do
|
||||
if [[ ! ( $name || $val) ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ -z $name ]]; then
|
||||
repoinfo_results[$prev]+=" $val"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user