aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-02-21 12:45:13 +0000
committerMax Howell2012-02-21 12:45:20 +0000
commit8585c69af68f258e60ee13fe582cd74cf1d7c2ba (patch)
tree4a8d23382164c9d4af96ce5855814a55e5a9fce0 /Library
parent9c9d9a7133a6524d5a2c7d1a859b80e22e5f07c6 (diff)
downloadhomebrew-8585c69af68f258e60ee13fe582cd74cf1d7c2ba.tar.bz2
Warn, don't advertise with a status header
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb5
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?