ed: create symbolic link man
to gnuman
This commit is contained in:
parent
4d33c5ee6d
commit
9be7800892
1 changed files with 2 additions and 4 deletions
|
@ -23,6 +23,8 @@ class Ed < Formula
|
|||
(libexec/"gnubin").install_symlink bin/"g#{prog}" => prog
|
||||
(libexec/"gnuman/man1").install_symlink man1/"g#{prog}.1" => "#{prog}.1"
|
||||
end
|
||||
|
||||
libexec.install_symlink "gnuman" => "man"
|
||||
end
|
||||
|
||||
def caveats; <<~EOS
|
||||
|
@ -30,10 +32,6 @@ class Ed < 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