Skip to content

Commit

Permalink
fix: Accidental syntax error for done
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 22, 2024
1 parent 9d13c87 commit 1396a18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1396a18

Please sign in to comment.