pull: fix pulling new bottles.
This commit is contained in:
parent
ae329a802b
commit
2614d39087
@ -131,12 +131,12 @@ module Homebrew
|
|||||||
fetch_bottles = false
|
fetch_bottles = false
|
||||||
changed_formulae.each do |f|
|
changed_formulae.each do |f|
|
||||||
if ARGV.include? "--bottle"
|
if ARGV.include? "--bottle"
|
||||||
if f.bottle_defined?
|
if f.bottle_unneeded?
|
||||||
fetch_bottles = true
|
|
||||||
elsif f.bottle_unneeded?
|
|
||||||
ohai "#{f}: skipping unneeded bottle."
|
ohai "#{f}: skipping unneeded bottle."
|
||||||
elsif f.bottle_disabled?
|
elsif f.bottle_disabled?
|
||||||
ohai "#{f}: skipping disabled bottle: #{f.bottle_disable_reason}"
|
ohai "#{f}: skipping disabled bottle: #{f.bottle_disable_reason}"
|
||||||
|
else
|
||||||
|
fetch_bottles = true
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
next unless f.bottle_defined?
|
next unless f.bottle_defined?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user