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
03352805
Commit
03352805
authored
8 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
tap: use utils link_path_manpages.
parent
8cc027a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/tap.rb
+1
-20
1 addition, 20 deletions
Library/Homebrew/tap.rb
with
1 addition
and
20 deletions
Library/Homebrew/tap.rb
+
1
−
20
View file @
03352805
...
...
@@ -248,26 +248,7 @@ class Tap
end
def
link_manpages
return
unless
(
path
/
"man"
).
exist?
conflicts
=
[]
(
path
/
"man"
).
find
do
|
src
|
next
if
src
.
directory?
dst
=
HOMEBREW_PREFIX
/
"share"
/
src
.
relative_path_from
(
path
)
next
if
dst
.
symlink?
&&
src
==
dst
.
resolved_path
if
dst
.
exist?
conflicts
<<
dst
next
end
dst
.
make_relative_symlink
(
src
)
end
unless
conflicts
.
empty?
onoe
<<-
EOS
.
undent
Could not link
#{
name
}
manpages to:
#{
conflicts
.
join
(
"
\n
"
)
}
Please delete these files and run `brew tap --repair`.
EOS
end
link_path_manpages
(
path
,
"brew tap --repair"
)
end
# uninstall this {Tap}.
...
...
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