aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2015-11-01 08:24:11 -0800
committerMike McQuaid2015-11-01 08:25:02 -0800
commit2614d39087e90b78cc22c50f2830c6caabdc0bec (patch)
treef4e4d576041a289f83f84810123972624faa08a9 /Library/Homebrew
parentae329a802b76da2f820755e09b2c6bc2ad0609a7 (diff)
downloadbrew-2614d39087e90b78cc22c50f2830c6caabdc0bec.tar.bz2
pull: fix pulling new bottles.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/pull.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index 53894983a..68fcfcb56 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -131,12 +131,12 @@ module Homebrew
fetch_bottles = false
changed_formulae.each do |f|
if ARGV.include? "--bottle"
- if f.bottle_defined?
- fetch_bottles = true
- elsif f.bottle_unneeded?
+ if f.bottle_unneeded?
ohai "#{f}: skipping unneeded bottle."
elsif f.bottle_disabled?
ohai "#{f}: skipping disabled bottle: #{f.bottle_disable_reason}"
+ else
+ fetch_bottles = true
end
else
next unless f.bottle_defined?