Dear mentors,

I'm creating a "makefile" with two installation rules.

One, the global installation, program with SGID and score in /var/games/
like some other games do.

The second one would "install" the program and scores under ~/.gamedir/

Global installation allow me to call the game directly because /usr/games
is in $PATH.

Now, for the second installation process, what would be the best way to
include the game on PATH?

Would it be polite to do something like:

echo "PATH=~./gamedir/:$PATH" >> ~/.profile

I want this second rule to install without the root password, so I'm
limited to so many linux commands.

Is this the way to go? And with ".profile" script? Or .bashrc? Or still
another one less usual but functional for this task? (


Thanks,
Beco.




-- 
Dr Beco
A.I. researcher

"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown
Jr.)

Reply via email to