Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
4dd6f0cb
Commit
4dd6f0cb
authored
11 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
install, update: AlreadyTappedError never raised.
parent
95e6a634
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/cmd/install.rb
+1
-4
1 addition, 4 deletions
Library/Homebrew/cmd/install.rb
Library/Homebrew/cmd/update.rb
+1
-4
1 addition, 4 deletions
Library/Homebrew/cmd/update.rb
with
2 additions
and
8 deletions
Library/Homebrew/cmd/install.rb
+
1
−
4
View file @
4dd6f0cb
...
...
@@ -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?
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/cmd/update.rb
+
1
−
4
View file @
4dd6f0cb
...
...
@@ -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?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment