diff options
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 |