diff options
| author | Max Howell | 2011-09-01 10:27:47 +0100 |
|---|---|---|
| committer | Max Howell | 2011-09-01 10:27:47 +0100 |
| commit | d5071d5dede84acca4d6545228bf4b12fdb1ce37 (patch) | |
| tree | 86e92a3f51c1c27ec471083c5ad85e028acb8433 /Library/Homebrew/cmd/install.rb | |
| parent | abc8c2f9d7e82ae35581c7f371fd9044e86eb951 (diff) | |
| download | brew-d5071d5dede84acca4d6545228bf4b12fdb1ce37.tar.bz2 | |
Allow brew install --force again
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
