diff options
Diffstat (limited to 'etc/profile')
-rw-r--r-- | etc/profile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/profile b/etc/profile index e085efa3..75c1f870 100644 --- a/etc/profile +++ b/etc/profile @@ -23,9 +23,7 @@ umask 022 # but it can make tab-completion easier when they aren't in the # user's PATH to pollute the executable namespace. if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then - PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}${ROOTPATH-}" -else - PATH="/usr/local/bin:/usr/bin:/bin${PATH:+:}${PATH-}" + PATH="${ROOTPATH}" fi export PATH unset ROOTPATH |