From ea4d1f6b7ba151f6c08a7193a8a0c4d500ae6a0c Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Fri, 2 Dec 2011 09:50:16 -0600 Subject: [PATCH] Restore --force behaviour in brew-install Fixes Homebrew/homebrew#8933. Closes Homebrew/homebrew#8936. Signed-off-by: Charlie Sharpsteen --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 2848986d4f..c62744bc82 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -86,7 +86,7 @@ module Homebrew extend self formulae.each do |f| # Check formula status and skip if necessary---a formula passed on the # command line may have been installed to satisfy a dependency. - next if f.installed? + next if f.installed? unless ARGV.flag? '--force' begin fi = FormulaInstaller.new(f)