From 2751449abb69a5dee3f919c33db761c1ec2d2bfa Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 23 Jul 2015 20:07:34 +0100 Subject: [PATCH] formula_installer: tweak priority of true Closes Homebrew/homebrew#41913. Signed-off-by: Dominyk Tiller --- Library/Homebrew/formula_installer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 6d9c0b938e..428fb203c8 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -61,11 +61,10 @@ class FormulaInstaller return false if @pour_failed bottle = formula.bottle - return true if force_bottle? && bottle + return true if (force_bottle? && bottle) || formula.local_bottle_path return false if build_from_source? || build_bottle? || interactive? || formula.file_modified? return false unless options.empty? - return true if formula.local_bottle_path return false unless bottle && formula.pour_bottle? unless bottle.compatible_cellar?