slackbuilds_ponce/system/man-db/man-db.sh
B. Watson b1e258732e system/man-db: Added (database-driven manual pager suite).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-08-15 23:21:33 +07:00

16 lines
299 B
Bash

#!/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