summaryrefslogtreecommitdiff
path: root/system/man-db/man-db.sh
blob: 54c9b34ae069ae9e585d66fa5d9571632a3b329e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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