diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/zypper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/package/zypper.rb b/lib/chef/provider/package/zypper.rb index 9cd95aade7..80d6f6daeb 100644 --- a/lib/chef/provider/package/zypper.rb +++ b/lib/chef/provider/package/zypper.rb @@ -141,6 +141,7 @@ class Chef if md = line.match(/^(\S*)\s+\|\s+(\S+)\s+\|\s+(\S+)\s+\|\s+(\S+)\s+\|\s+(\S+)\s+\|\s+(.*)$/) (status, name, type, version, arch, repo) = [ md[1], md[2], md[3], md[4], md[5], md[6] ] next if version == "Version" # header + next if name != package_name # sometimes even though we request a specific version in the search string above and have match exact, we wind up # with other versions in the output, particularly getting the installed version when downgrading. |