mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-22 13:11:26 +00:00
Refactor for more efficient evaulation
This commit is contained in:
parent
078779f2e6
commit
eeff0c3b94
@ -265,7 +265,7 @@ 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
|
if [[ ! ( $name || $val) ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [[ -z $name ]]; then
|
if [[ -z $name ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user