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.
This commit is contained in:
parent
03352805c6
commit
3df7daa5bf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user