aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2011-12-02 09:50:16 -0600
committerCharlie Sharpsteen2011-12-02 09:36:38 -0800
commitea4d1f6b7ba151f6c08a7193a8a0c4d500ae6a0c (patch)
tree80e29fe1d9c8c3814595bfb81cc03c4a109fc526 /Library
parent6c86d358a3d2a4f2bf011b275070a1141b474c12 (diff)
downloadbrew-ea4d1f6b7ba151f6c08a7193a8a0c4d500ae6a0c.tar.bz2
Restore --force behaviour in brew-install
Fixes Homebrew/homebrew#8933. Closes Homebrew/homebrew#8936. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 2848986d4..c62744bc8 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)