Commit 0342f432 by giorgio-v

Added `-y` flag to `query_package`

* library/packaging/pkgin:

Signed-off-by: giorgio-v <giorgio@refactor.it>
parent 99dfa1af
......@@ -64,7 +64,7 @@ def query_package(module, pkgin_path, name, state="present"):
if state == "present":
rc, out, err = module.run_command("%s list | grep ^%s" % (pkgin_path, name))
rc, out, err = module.run_command("%s -y list | grep ^%s" % (pkgin_path, name))
if rc == 0:
# At least one package with a package name that starts with ``name``
......
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