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

update-report: also link `brew*.1` manpages.

Otherwise if your `HOMEBREW_PREFIX` and `HOMEBREW_REPOSITORY` are not
equal then your tap manpages will be linked but your `brew*` ones will
not.
parent 03352805
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ module Homebrew
Descriptions.update_cache(hub)
end
link_manpages
Tap.each(&:link_manpages)
Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"]
......@@ -158,6 +159,11 @@ module Homebrew
end
end
end
def link_manpages
return if HOMEBREW_PREFIX.to_s == HOMEBREW_REPOSITORY.to_s
link_path_manpages(HOMEBREW_REPOSITORY/"share", "brew update")
end
end
class Reporter
......
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