[Mageia-discuss] mod-fortune path problem
Shlomi Fish
shlomif at shlomifish.org
Sun Sep 9 10:43:44 CEST 2012
Hi bascule,
On Sun, 09 Sep 2012 00:14:11 +0100
bascule <asura at theexcession.co.uk> wrote:
> 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?
>
This seems to be fine here on both Mageia 2 x86-64 and Mageia Cauldron x86-64.
What happens when you ssh into your user account at localhost? Is /usr/games
getting set properly then?
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Parody of "The Fountainhead" - http://shlom.in/towtf
Oh! I wish you could see the look on his face! Actually, I would have also
liked to see the look on his face, but just then I woke up from the dream.
— The Enemy and how I Helped to Fight It
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Mageia-discuss
mailing list