18 lines
486 B
Bash
18 lines
486 B
Bash
if [ -d /usr/local/lib/pkgconfig ] ; then
|
|
pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
|
|
fi
|
|
if [ -d /usr/local/bin ]; then
|
|
pathprepend /usr/local/bin
|
|
fi
|
|
if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
|
|
pathprepend /usr/local/sbin
|
|
fi
|
|
|
|
if [ -d /usr/local/share ]; then
|
|
pathprepend /usr/local/share XDG_DATA_DIRS
|
|
fi
|
|
|
|
# Set some defaults before other applications add to these paths.
|
|
pathappend /usr/share/man MANPATH
|
|
pathappend /usr/share/info INFOPATH
|