Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 255695 | Differences between
and this patch

Collapse All | Expand All

(-)a/etc/env.d/00basic (-2 lines)
Lines 1-8 Link Here
1
# /etc/env.d/00basic
1
# /etc/env.d/00basic
2
# Do not edit this file
2
# Do not edit this file
3
3
4
PATH="/opt/bin"
5
ROOTPATH="/opt/bin"
6
MANPATH="/usr/local/share/man:/usr/share/man"
4
MANPATH="/usr/local/share/man:/usr/share/man"
7
INFOPATH="/usr/share/info"
5
INFOPATH="/usr/share/info"
8
CONFIG_PROTECT_MASK="/etc/gentoo-release"
6
CONFIG_PROTECT_MASK="/etc/gentoo-release"
(-)a/etc/env.d/50defaultpath (+5 lines)
Line 0 Link Here
1
# /etc/env.d/50path
2
# Do not edit this file
3
4
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin"
5
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
(-)a/etc/profile (-4 / +1 lines)
Lines 23-31 umask 022 Link Here
23
# but it can make tab-completion easier when they aren't in the
23
# but it can make tab-completion easier when they aren't in the
24
# user's PATH to pollute the executable namespace.
24
# user's PATH to pollute the executable namespace.
25
if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
25
if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
26
	PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}${ROOTPATH-}"
26
	PATH="${ROOTPATH}"
27
else
28
	PATH="/usr/local/bin:/usr/bin:/bin${PATH:+:}${PATH-}"
29
fi
27
fi
30
export PATH
28
export PATH
31
unset ROOTPATH
29
unset ROOTPATH
32
- 

Return to bug 255695