diff options
| author | Max Howell | 2012-02-21 12:45:13 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-21 12:45:20 +0000 |
| commit | 8585c69af68f258e60ee13fe582cd74cf1d7c2ba (patch) | |
| tree | 4a8d23382164c9d4af96ce5855814a55e5a9fce0 /Library | |
| parent | 9c9d9a7133a6524d5a2c7d1a859b80e22e5f07c6 (diff) | |
| download | homebrew-8585c69af68f258e60ee13fe582cd74cf1d7c2ba.tar.bz2 | |
Warn, don't advertise with a status header
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 8fad2b48b..580b11422 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -12,10 +12,7 @@ module Homebrew extend self end unless ARGV.force? ARGV.formulae.each do |f| - if f.linked_keg.directory? - ohai "#{f} already installed" - puts "Try: brew upgrade #{f}" - end + opoo "#{f} already installed" if f.linked_keg.directory? end unless ARGV.force? if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero? |
