From 593dff3dc1d038475acdd1f1503e60d7cfb2605b Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 1 Nov 2015 17:51:10 +0800 Subject: pull: bottle_unneeded? is covered by bottle_disabled? --- Library/Homebrew/cmd/pull.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/cmd/pull.rb') 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 -- cgit v1.2.3