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
commiteb89df88dc7ceb2d97130bd38bf3f5a8d141623e (patch)
treecfbc423cce7ab94db010321e0edf39f50c13a3c3 /Library
parentc5317ab188f76012c93bd77c61a07673b782118b (diff)
downloadhomebrew-eb89df88dc7ceb2d97130bd38bf3f5a8d141623e.tar.bz2
Restore --force behaviour in brew-install
Fixes #8933. Closes #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)