From 6a92db40602f977d9fb7af543da5067d1965c540 Mon Sep 17 00:00:00 2001 From: giorgio-v Date: Mon, 18 Nov 2013 08:01:10 +0100 Subject: [PATCH] Added `-y` flag to `query_package` * library/packaging/pkgin: Signed-off-by: giorgio-v --- packaging/pkgin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 packaging/pkgin diff --git a/packaging/pkgin b/packaging/pkgin old mode 100644 new mode 100755 index 024e8756eb5..c6b6e833709 --- a/packaging/pkgin +++ b/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``