aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-11-01 17:51:10 +0800
committerXu Cheng2015-11-01 17:51:10 +0800
commit593dff3dc1d038475acdd1f1503e60d7cfb2605b (patch)
treef919b23e471093f8a9da3708f8202bff960a02ac
parent68896d14aaededbcf0b61b76b85684fce51bb165 (diff)
downloadbrew-593dff3dc1d038475acdd1f1503e60d7cfb2605b.tar.bz2
pull: bottle_unneeded? is covered by bottle_disabled?
-rw-r--r--Library/Homebrew/cmd/pull.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index a4ad05f39..63f5551b8 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -133,10 +133,10 @@ module Homebrew
if ARGV.include? "--bottle"
if f.bottle
fetch_bottles = true
- elsif f.bottle_disabled?
- ohai "#{f}: skipping disabled bottle: #{f.bottle_disable_reason}"
elsif f.bottle_unneeded?
ohai "#{f}: skipping unneeded bottle."
+ elsif f.bottle_disabled?
+ ohai "#{f}: skipping disabled bottle: #{f.bottle_disable_reason}"
end
else
next unless f.bottle