diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2014-10-03 20:19:10 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2014-10-03 20:19:10 +0200 |
commit | 2c94e0c54cacc27811e9e42f66360680c8ff476c (patch) | |
tree | a6c8fbb8509be66bfb9e58598581fd014a7f4fcb /profile | |
parent | d60884755ab7b0d31dd59bf032d9ecee10bc637f (diff) | |
download | setup-2c94e0c54cacc27811e9e42f66360680c8ff476c.tar setup-2c94e0c54cacc27811e9e42f66360680c8ff476c.tar.gz setup-2c94e0c54cacc27811e9e42f66360680c8ff476c.tar.bz2 setup-2c94e0c54cacc27811e9e42f66360680c8ff476c.tar.xz setup-2c94e0c54cacc27811e9e42f66360680c8ff476c.zip |
add /usr/local/games to the PATH in /etc/profile
Diffstat (limited to 'profile')
-rw-r--r-- | profile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,8 +3,13 @@ loginsh=1 -if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then - PATH=$PATH:/usr/games +if [ "$UID" -ge 500 ] ; then + if ! echo ${PATH} |grep -q /usr/local/games ; then + PATH=$PATH:/usr/local/games + fi + if ! echo ${PATH} |grep -q /usr/games ; then + PATH=$PATH:/usr/games + fi fi umask 022 |