Skip to content

Commit bea424c

Browse files
dmurphy18s0undt3ch
authored andcommitted
Update salt/modules/yumpkg.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
1 parent bf27a19 commit bea424c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/modules/yumpkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3044,7 +3044,7 @@ def mod_repo(repo, basedir=None, **kwargs):
30443044
if use_copr:
30453045
# Is copr plugin installed?
30463046
copr_plugin_name = ""
3047-
if _yum() == "dnf" or _yum() == "dnf5":
3047+
if _yum() in ("dnf", "dnf5"):
30483048
copr_plugin_name = "dnf-plugins-core"
30493049
else:
30503050
copr_plugin_name = "yum-plugin-copr"

0 commit comments

Comments
 (0)