Commit 4a02132a authored by Casey Strouse's avatar Casey Strouse

Update post-installation message to include missing step

Quite a few packages install manpages into /usr/local/man/ which is not
included in the default MANPATH. Users will need to update their
environment to include this in the search path after installing the
mandb package.
parent 56502082
...@@ -24,6 +24,8 @@ class Mandb < Package ...@@ -24,6 +24,8 @@ class Mandb < Package
puts "" puts ""
puts "You will have to change the default PAGER env variable to be able to use mandb:" puts "You will have to change the default PAGER env variable to be able to use mandb:"
puts "echo \"export PAGER=/usr/local/bin/less\" >> ~/.bashrc && . ~/.bashrc" puts "echo \"export PAGER=/usr/local/bin/less\" >> ~/.bashrc && . ~/.bashrc"
puts ""
puts "You will also have to set the MANPATH env variable:"
puts "echo \"export MANPATH/usr/local/man:$MANPATH\" >> ~/.bashrc && ~/.bashrc"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment