diff options
author | Ezra Zygmuntowicz <ez@engineyard.com> | 2009-01-26 11:29:05 -0800 |
---|---|---|
committer | Ezra Zygmuntowicz <ez@engineyard.com> | 2009-01-26 11:29:05 -0800 |
commit | f4e3f8075238f9d03df65ca43f1f62154cfcfbbb (patch) | |
tree | dcee7422981fd37ee83a28bcdeaaa9694c780a6a /chef/lib/chef/provider/package | |
parent | a12da01e92d4e3ff99978ffbea9c774c040e91e3 (diff) | |
download | chef-f4e3f8075238f9d03df65ca43f1f62154cfcfbbb.tar.gz |
portage packages ust be fully qualified with their prefixes
Diffstat (limited to 'chef/lib/chef/provider/package')
-rw-r--r-- | chef/lib/chef/provider/package/portage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/package/portage.rb b/chef/lib/chef/provider/package/portage.rb index 082375cbf6..52ed95f5ee 100644 --- a/chef/lib/chef/provider/package/portage.rb +++ b/chef/lib/chef/provider/package/portage.rb @@ -54,7 +54,7 @@ class Chef available, installed, pkg = nil txt.each do |line| if line =~ /\*(.*)/ - pkg = $1.strip.split('/').last + pkg = $1.strip end if pkg == package if line =~ /Latest version available: (.*)/ |