aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 20:16:57 +0100
committerMike McQuaid2013-10-21 20:16:57 +0100
commite7fd0e5d66ba9f0fb45278c791a8b69d8c19075a (patch)
tree2ebc7fefe3a834c972beea3e014de51b69c78903 /Library/Homebrew/cmd/install.rb
parentb8103eb8fbcd3671dc3244922ae9fc1c9364d391 (diff)
downloadhomebrew-e7fd0e5d66ba9f0fb45278c791a8b69d8c19075a.tar.bz2
install: silently ignore already tapped taps.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index b77121a19..a8bd6454f 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -18,7 +18,10 @@ module Homebrew extend self
end
if not File.exist? name and name =~ HOMEBREW_TAP_REGEX then
require 'cmd/tap'
- install_tap $1, $2
+ begin
+ install_tap $1, $2
+ rescue AlreadyTappedError => e
+ end
end
end unless ARGV.force?