node: fix manpage linkage
I goofed here on the manpage linkage and location. This fixes that mistake. Given it’s post-install, shouldn’t be any need to regenerate bottles or such. Closes Homebrew/homebrew#35824. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
49d18cd499
commit
7b744d7765
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Node < Formula
|
|||
# And then a step to the right, with your hand on rm_f.
|
||||
["man1", "man3", "man5", "man7"].each do |man|
|
||||
rm_f Dir[HOMEBREW_PREFIX/"share/man/#{man}/{npm.,npm-,npmrc.}*"]
|
||||
Dir[share/"man/#{man}/npm*"].each {|f| ln_sf f, HOMEBREW_PREFIX/"share/man/#{man}" }
|
||||
Dir[libexec/"npm/share/man/#{man}/npm*"].each {|f| ln_sf f, HOMEBREW_PREFIX/"share/man/#{man}" }
|
||||
end
|
||||
|
||||
npm_root = node_modules/"npm"
|
||||
|
|
Loading…
Reference in a new issue