summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile9
1 files changed, 7 insertions, 2 deletions
diff --git a/profile b/profile
index dd4af62..249b1cb 100644
--- a/profile
+++ b/profile
@@ -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