Skip to content

Commit

Permalink
Update salt/modules/yumpkg.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Algarvio <[email protected]>
  • Loading branch information
dmurphy18 and s0undt3ch authored Jul 20, 2023
1 parent 90162b8 commit 1a89a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/yumpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -3044,7 +3044,7 @@ def mod_repo(repo, basedir=None, **kwargs):
if use_copr:
# Is copr plugin installed?
copr_plugin_name = ""
if _yum() == "dnf" or _yum() == "dnf5":
if _yum() in ("dnf", "dnf5"):
copr_plugin_name = "dnf-plugins-core"
else:
copr_plugin_name = "yum-plugin-copr"
Expand Down

0 comments on commit 1a89a64

Please sign in to comment.