Commit 15c65708 authored by lyxell's avatar lyxell

Print instructions for setting the default PAGER

parent 2a693270
......@@ -4,7 +4,7 @@ class Mandb < Package
version '2.7.6'
source_url 'https://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.tar.xz'
source_sha1 '35a10f80d5cf6411d5c73376fcddcec1539e788a'
def self.build
system './configure',
'--with-systemdtmpfilesdir=/usr/local/lib/tmpfiles.d', # we can't write to /usr/lib/tmpfiles.d
......@@ -12,9 +12,12 @@ class Mandb < Package
'--with-pager=/usr/local/bin/less' # the pager is not at the default location
system 'make'
end
def self.install
system 'make', 'install'
puts ""
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"
end
depends_on 'libpipeline'
......
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