diff options
| author | Mike McQuaid | 2013-10-21 20:16:57 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-21 20:16:57 +0100 |
| commit | e7fd0e5d66ba9f0fb45278c791a8b69d8c19075a (patch) | |
| tree | 2ebc7fefe3a834c972beea3e014de51b69c78903 /Library/Homebrew/cmd | |
| parent | b8103eb8fbcd3671dc3244922ae9fc1c9364d391 (diff) | |
| download | homebrew-e7fd0e5d66ba9f0fb45278c791a8b69d8c19075a.tar.bz2 | |
install: silently ignore already tapped taps.
Diffstat (limited to 'Library/Homebrew/cmd')
| -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? |
