mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
b1e258732e
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
16 lines
299 B
Bash
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
|