diff --git a/modules/dnf/dnf.sh b/modules/dnf/dnf.sh index 2603313..91699f6 100644 --- a/modules/dnf/dnf.sh +++ b/modules/dnf/dnf.sh @@ -30,7 +30,8 @@ if [[ ${#REPOS[@]} -gt 0 ]]; then else # Trim all whitespaces/newlines for other repos REPOS[$i]="${repo//[$'\t\r\n ']}" - fi done + fi + done # dnf config-manager & dnf copr don't support adding multiple repositories at once, hence why for/done loop is used for repo in "${REPOS[@]}"; do if [[ "${repo}" =~ ^https?:\/\/.* ]]; then