From c0822f84001081071845a43371ef9be866b9cc26 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 2 Feb 2013 14:51:10 -0600 Subject: [PATCH] FormulaInstaller#check_requirements: fix inverted conditional --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index ab021af0db..1008bc2e60 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -109,7 +109,7 @@ class FormulaInstaller if req.optional? || req.recommended? Requirement.prune unless dependent.build.with?(req.name) elsif req.build? - Requirement.prune unless install_bottle?(dependent) + Requirement.prune if install_bottle?(dependent) end Requirement.prune if req.satisfied?