From ec60e59df3db7cd3f69c7d5216da8239429c4b04 Mon Sep 17 00:00:00 2001 From: Patrick Callahan Date: Fri, 7 Jun 2013 23:31:21 -0400 Subject: [PATCH] BUG FIX: Add package name to the cmd. --- packaging/zypper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/zypper b/packaging/zypper index dcb9e1536c2..c1c7d012d5a 100644 --- a/packaging/zypper +++ b/packaging/zypper @@ -73,7 +73,7 @@ author: Patrick Callahan # Function used for getting the name of a currently installed package. def get_current_name(m, name): cmd = '/bin/rpm -q --qf \'%{NAME}-%{VERSION}\'' - (rc, stdout, stderr) = m.run_command("%s" % (cmd)) + (rc, stdout, stderr) = m.run_command("%s %s" % (cmd, name)) if rc != 0: return (rc, stdout, stderr)