blob: e8aa964bd67b69610df9074f58cc977575b13f21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] mod-fortune path problem
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20mod-fortune%20path%20problem&In-Reply-To=%3C20120909114344.447f7b17%40lap.shlomifish.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008700.html">
<LINK REL="Next" HREF="008715.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] mod-fortune path problem</H1>
<B>Shlomi Fish</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20mod-fortune%20path%20problem&In-Reply-To=%3C20120909114344.447f7b17%40lap.shlomifish.org%3E"
TITLE="[Mageia-discuss] mod-fortune path problem">shlomif at shlomifish.org
</A><BR>
<I>Sun Sep 9 10:43:44 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="008700.html">[Mageia-discuss] mod-fortune path problem
</A></li>
<LI>Next message: <A HREF="008715.html">[Mageia-discuss] mod-fortune path problem
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8701">[ date ]</a>
<a href="thread.html#8701">[ thread ]</a>
<a href="subject.html#8701">[ subject ]</a>
<a href="author.html#8701">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi bascule,
On Sun, 09 Sep 2012 00:14:11 +0100
bascule <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">asura at theexcession.co.uk</A>> wrote:
><i> after installing mod-fortune the following is added to /etc/profile/
</I>><i> if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
</I>><i> PATH=$PATH:/usr/games
</I>><i> fi
</I>><i> but /usr/games does not shoe up in my path when i log on to kde,
</I>><i> kmail says: /bin/sh: fortune: command not found
</I>><i> and konsole tells me:
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">bascule at mycroft</A> ~]$ echo $PATH
</I>><i> /home/bascule/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib64/qt4/bin
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">bascule at mycroft</A> ~]$
</I>><i>
</I>><i> now obviously i can add /usr/games the same way i
</I>><i> added /home/bascule/bin but i thought that /etc/profile was system
</I>><i> wide stuff so whats going wrong here?
</I>><i>
</I>
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 <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
Parody of "The Fountainhead" - <A HREF="http://shlom.in/towtf">http://shlom.in/towtf</A>
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 - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008700.html">[Mageia-discuss] mod-fortune path problem
</A></li>
<LI>Next message: <A HREF="008715.html">[Mageia-discuss] mod-fortune path problem
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8701">[ date ]</a>
<a href="thread.html#8701">[ thread ]</a>
<a href="subject.html#8701">[ subject ]</a>
<a href="author.html#8701">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|