diff options
Diffstat (limited to 'core/baselayout/files/profile')
-rw-r--r-- | core/baselayout/files/profile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/core/baselayout/files/profile b/core/baselayout/files/profile index 8e5fcd75..a1d4d371 100644 --- a/core/baselayout/files/profile +++ b/core/baselayout/files/profile @@ -1,16 +1,17 @@ +# # /etc/profile # -# System wide environment and startup programs. -# Set default path (/usr/sbin:/sbin:/bin included for non-KISS Linux chroots). -export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin +PATH=/usr/bin +MANPATH=/usr/share/man +export PATH MANPATH -# Set default umask. umask 022 # Load profiles from /etc/profile.d -for file in /etc/profile.d/*.sh; do - [ -r "$file" ] && . "$file" -done - -unset file +if [ -d /etc/profile.d/ ]; then + for file in /etc/profile.d/*.sh; do + [ -r "$file" ] && . "$file" + done + unset file +fi |