Invoke is_installed correctly from rpm path

This commit is contained in:
Daniel Hokka Zakrisson 2012-09-13 12:34:52 +02:00
parent 3276c2f0c4
commit 9b3ad14aee

2
yum
View file

@ -291,7 +291,7 @@ def install(module, items, repoq, yum_basecmd, conf_file):
nvra = local_nvra(spec)
# look for them in the rpmdb
if is_installed(repoq, nvra, conf_file):
if is_installed(module, repoq, nvra, conf_file):
# if they are there, skip it
continue
pkg = spec