Skip to content

Commit

Permalink
fix: Assume yes for copr enable
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Dec 26, 2024
1 parent 4920cc4 commit 7612cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [[ ${#COPR_REPOS[@]} -gt 0 ]]; then
for repo in "${COPR_REPOS[@]}"; do
if [[ "${repo}" == *"/"* ]]; then
echo "Adding COPR repository: '${repo}'"
dnf copr enable "${repo}"
dnf -y copr enable "${repo}"
else
echo "ERROR: You didn't provide COPR repository in proper format, it should be in 'user/project' format."
exit 1
Expand Down

0 comments on commit 7612cc2

Please sign in to comment.