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
commitf7d4e5715d529268543246483a86f14a68407b93 (patch)
tree6869d66d3eeb2d3f4959ccba926f8478fccf50ac /Library
parent42ed8014ed7b0e1d603886b60ca3d9b1ef49c2c3 (diff)
downloadhomebrew-f7d4e5715d529268543246483a86f14a68407b93.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?