yum: the rpm command requires newline in --qf (#32244)
This commit is contained in:
parent
714598e91b
commit
38444bb76c
1 changed files with 3 additions and 1 deletions
|
@ -347,11 +347,13 @@ def is_group_env_installed(name):
|
|||
return False
|
||||
|
||||
|
||||
def is_installed(module, repoq, pkgspec, conf_file, qf=def_qf, en_repos=None, dis_repos=None, is_pkg=False, installroot='/'):
|
||||
def is_installed(module, repoq, pkgspec, conf_file, qf=None, en_repos=None, dis_repos=None, is_pkg=False, installroot='/'):
|
||||
if en_repos is None:
|
||||
en_repos = []
|
||||
if dis_repos is None:
|
||||
dis_repos = []
|
||||
if qf is None:
|
||||
qf = "%{epoch}:%{name}-%{version}-%{release}.%{arch}\n"
|
||||
|
||||
if not repoq:
|
||||
pkgs = []
|
||||
|
|
Loading…
Reference in a new issue