aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-01-03 21:51:42 +0000
committerMike McQuaid2014-01-03 21:57:06 +0000
commit4dd6f0cb4c60babe5f2f24d1b89c391bd878966e (patch)
treeaa1a93e37a557c60fd8ece1f6ec579c38aeec456
parent95e6a634b4856df4873c56f11f1b3036e7610163 (diff)
downloadbrew-4dd6f0cb4c60babe5f2f24d1b89c391bd878966e.tar.bz2
install, update: AlreadyTappedError never raised.
-rw-r--r--Library/Homebrew/cmd/install.rb5
-rw-r--r--Library/Homebrew/cmd/update.rb5
2 files changed, 2 insertions, 8 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index ccdc48b63..4e1705c74 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -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?
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index 67d153a64..b340881df 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -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?