diff --git a/library/packaging/pkgin b/library/packaging/pkgin old mode 100644 new mode 100755 index 024e8756eb5..c6b6e833709 --- a/library/packaging/pkgin +++ b/library/packaging/pkgin @@ -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``