Commit 22225327 by Berend de Boer

Don't use pkg_glob when guessing name, else we may think the package

is installed when it isn't.
parent 607680c2
......@@ -89,7 +89,7 @@ def query_package(module, name):
if pkgng:
rc, out, err = module.run_command("%s %s" % (pkg_info_path, name_without_digits))
else:
rc, out, err = module.run_command("%s `%s %s`" % (pkg_info_path, pkg_glob_path, name_without_digits))
rc, out, err = module.run_command("%s %s" % (pkg_info_path, name_without_digits))
found = rc == 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment