Fix syntax error

Arrays have "@" in them.
This commit is contained in:
Peter Ajamian 2022-02-01 21:32:11 +13:00
parent f2a3763092
commit 01a661d7e9
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ collect_system_info () {
# ...and finally set a number of dnf options to replace the baseurl of these
# repos
for k in "${dist_repourl_map}"; do
for k in "${!dist_repourl_map[@]}"; do
local d=${k%%:*} r=${k#*:}
if [[ $d != $dist_id || ! ${enabled_repo_check[$r]} ]] ||
check_repourl "$r"; then