mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-21 20:51:26 +00:00
Refactor for more efficient evaulation
This commit is contained in:
parent
078779f2e6
commit
eeff0c3b94
@ -265,7 +265,7 @@ repoinfo () {
|
||||
fi
|
||||
declare -gA repoinfo_results=()
|
||||
while IFS=" :" read -r name val; do
|
||||
if [[ -z $name ]] && [[ -z $val ]]; then
|
||||
if [[ ! ( $name || $val) ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ -z $name ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user