From d5071d5dede84acca4d6545228bf4b12fdb1ce37 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 1 Sep 2011 10:27:47 +0100 Subject: Allow brew install --force again --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 07942f64e..297ba3e5f 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -13,7 +13,7 @@ module Homebrew extend self if File.directory? HOMEBREW_REPOSITORY/"Library/LinkedKegs/#{f.name}" raise "#{f} already installed\nTry: brew upgrade #{f}" end - end + end unless ARGV.force? if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero? # note we only abort if Homebrew is *not* installed as sudo and the user -- cgit v1.2.3