mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update salt/modules/yumpkg.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
parent
bf27a19c96
commit
bea424c18d
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue