findutils: create symbolic link man
to gnuman
This commit is contained in:
parent
9be7800892
commit
90bc608530
1 changed files with 2 additions and 4 deletions
|
@ -49,6 +49,8 @@ class Findutils < Formula
|
|||
(libexec/gnupath).install_symlink f => f.basename.sub(/^g/, "")
|
||||
end
|
||||
end
|
||||
|
||||
libexec.install_symlink "gnuman" => "man"
|
||||
end
|
||||
|
||||
def post_install
|
||||
|
@ -60,10 +62,6 @@ class Findutils < Formula
|
|||
If you need to use these commands with their normal names, you
|
||||
can add a "gnubin" directory to your PATH from your bashrc like:
|
||||
PATH="#{opt_libexec}/gnubin:$PATH"
|
||||
|
||||
Additionally, you can access their man pages with normal names if you add
|
||||
the "gnuman" directory to your MANPATH from your bashrc as well:
|
||||
MANPATH="#{opt_libexec}/gnuman:$MANPATH"
|
||||
EOS
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue