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