Commit 7c77b960 authored by Jonas Smedegaard's avatar Jonas Smedegaard
Browse files

Adapt bash configfile "profile": Include {/usr,/usr/local}/games in PATH for...

Adapt bash configfile "profile": Include {/usr,/usr/local}/games in PATH for all users (including root). Include {/,/usr,/usr/local}/sbin in PATH for all users (not only root).
parent d54dccd4
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
export PATH
if [ "${PS1-}" ]; then
......
......@@ -11,4 +11,5 @@ b94c2e3df2a779ac12080942df4d86ea 5.9 to 6.4
91901ce5707909cfec8b3a1a6efbfa61 6.5 to 7.6
6c56009f8aabda9400878ce3c7fd91af 7.7
ff2bae0480885c074afadec201f5c668 7.8 to 9.5
2255054e61cee1a99dbe893377820dde 9.6 to current
2255054e61cee1a99dbe893377820dde 9.6 to 9.6pureos1
62d8fa58f97bcb593424db4eec880217 9.6pureos1 to current
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment