diff options
| author | Mike McQuaid | 2013-10-21 20:16:57 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-21 20:16:57 +0100 |
| commit | b7000aec3756f47a6ef8fe299bb3843204695b02 (patch) | |
| tree | acdccd4b7c73f8caca7b6cea9d67b6c8f121c6ae /Library/Homebrew/cmd/install.rb | |
| parent | 1cb7eca3a58a6297c833f4d6f3f8931ebc3a2e52 (diff) | |
| download | brew-b7000aec3756f47a6ef8fe299bb3843204695b02.tar.bz2 | |
install: silently ignore already tapped taps.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 5 |
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? |
