diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-15 14:58:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-15 23:21:33 +0700 |
commit | b1e258732ea485dd4feb6d25dd2ae3f636dbfaef (patch) | |
tree | a6b0eceb0da7f56da97d89fc45e06b1910939b26 /system/man-db/man-db.sh | |
parent | 4c4f7066fc127ec5a20de1c5dad2ac1668cbd4e5 (diff) | |
download | slackbuilds-b1e258732ea485dd4feb6d25dd2ae3f636dbfaef.tar.gz |
system/man-db: Added (database-driven manual pager suite).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/man-db/man-db.sh')
-rw-r--r-- | system/man-db/man-db.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/man-db/man-db.sh b/system/man-db/man-db.sh new file mode 100644 index 0000000000..54c9b34ae0 --- /dev/null +++ b/system/man-db/man-db.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# Set up environment for man-db. This file is part of the slackbuilds.org +# man-db build. + +# Author: B. Watson. License: WTFPL + +MANPATH="/opt/man-db/man:$MANPATH" +PATH="/opt/man-db/bin:$PATH" + +if [ "$( id -u )" = "0" ]; then + PATH="/opt/man-db/sbin:$PATH" +fi + +export MANPATH +export PATH |