aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-17 19:36:04 -0800
committerAdam Vandenberg2012-02-19 14:07:42 -0800
commitbe250b4d05a59d0b4063fa6ee0b405829cbd59d9 (patch)
tree9ec82828ac584494705af75c151a64db32ab03f1 /Library
parent5ef84730d0983d193d992de07737ed73c38d0cb4 (diff)
downloadbrew-be250b4d05a59d0b4063fa6ee0b405829cbd59d9.tar.bz2
don't quit if already installed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index caefbcb40..6b2f5ea0c 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -13,7 +13,8 @@ module Homebrew extend self
ARGV.formulae.each do |f|
if f.linked_keg.directory?
- raise "#{f} already installed\nTry: brew upgrade #{f}"
+ ohai "#{f} already installed"
+ puts "Try: brew upgrade #{f}"
end
end unless ARGV.force?