Restore --force behaviour in brew-install
Fixes Homebrew/homebrew#8933. Closes Homebrew/homebrew#8936. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
6c86d358a3
commit
ea4d1f6b7b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user