Skip to content

Commit

Permalink
Implement #95
Browse files Browse the repository at this point in the history
  • Loading branch information
Rockstar04 committed Jul 31, 2015
1 parent 41c07b6 commit ef6bdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/pear.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def candidate_version
candidate_version_cmd = "#{@bin} -d "
candidate_version_cmd << "preferred_state=#{can_haz(@new_resource, 'preferred_state')}"
candidate_version_cmd << " search#{expand_channel(can_haz(@new_resource, 'channel'))}"
candidate_version_cmd << "#{@new_resource.package_name}"
candidate_version_cmd << " #{@new_resource.package_name}"
p = shell_out(candidate_version_cmd)
response = nil
response = grep_for_version(p.stdout, @new_resource.package_name) if p.stdout =~ /\.?Matched packages/i
Expand Down

0 comments on commit ef6bdca

Please sign in to comment.