diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 5 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/update.rb | 5 |
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? |
