From b7000aec3756f47a6ef8fe299bb3843204695b02 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 21 Oct 2013 20:16:57 +0100 Subject: install: silently ignore already tapped taps. --- Library/Homebrew/cmd/install.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library') 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? -- cgit v1.2.3