Skip to content
Snippets Groups Projects
Commit 4dd6f0cb authored by Mike McQuaid's avatar Mike McQuaid
Browse files

install, update: AlreadyTappedError never raised.

parent 95e6a634
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,7 @@ module Homebrew extend self
end
if not File.exist? name and name =~ HOMEBREW_TAP_FORMULA_REGEX then
require 'cmd/tap'
begin
install_tap $1, $2
rescue AlreadyTappedError
end
install_tap $1, $2
end
end unless ARGV.force?
......
......@@ -61,10 +61,7 @@ module Homebrew extend self
migration = TAP_MIGRATIONS[f]
next unless migration
tap_user, tap_repo = migration.split '/'
begin
install_tap tap_user, tap_repo
rescue AlreadyTappedError
end
install_tap tap_user, tap_repo
end if load_tap_migrations
if report.empty?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment