Skip to content
Browse files

Merge pull request #241 from cbguder/master

brew.rb tries to upgrade up-to-date brews
  • Loading branch information...
2 parents c8e0e94 + 99dc144 commit f8f6617ac50d99ef5d60c613e314ddc509224b51 @hiremaga hiremaga committed Mar 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 definitions/brew.rb
View
2 definitions/brew.rb
@@ -39,7 +39,7 @@
end
when :upgrade
execute "brew upgrade #{package}" do
- only_if params[:only_if] || "brew list | grep #{package}"
+ only_if params[:only_if] || "brew outdated | grep #{package}"
not_if params[:not_if] if params[:not_if]
user params[:user] || WS_USER
command "brew upgrade #{package}"

0 comments on commit f8f6617

Please sign in to comment.
Something went wrong with that request. Please try again.