[Mageia-discuss] mod-fortune path problem
bascule
asura at theexcession.co.uk
Sun Sep 9 01:14:11 CEST 2012
after installing mod-fortune the following is added to /etc/profile/
if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
PATH=$PATH:/usr/games
fi
but /usr/games does not shoe up in my path when i log on to kde, kmail says:
/bin/sh: fortune: command not found
and konsole tells me:
[bascule at mycroft ~]$ echo $PATH
/home/bascule/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib64/qt4/bin
[bascule at mycroft ~]$
now obviously i can add /usr/games the same way i added /home/bascule/bin but
i thought that /etc/profile was system wide stuff so whats going wrong here?
bascule
More information about the Mageia-discuss
mailing list