On Tue, Apr 24, 2012 at 06:47:13PM +1200, Ralph Versteegen wrote:
> On 24 April 2012 14:57,  <[email protected]> wrote:
> > james
> > 2012-04-23 19:57:45 -0700 (Mon, 23 Apr 2012)
> > 254
> > Linux: when ohrrpgce-game is installed in /usr/games or /usr/local/games 
> > look for the
> > rpg file in /usr/share/games/gamename/ and /usr/share/games/gamename/
> > (some game packages use /games/ and some don't I don't know what the 
> > standard is (if any exists))
> > ---
> > U   wip/game.bas
> 
> What about /usr/bin and /usr/local/bin? On my system (Slackware), most
> games are installed at /usr/bin/. If I were to manually install
> anything globally, I would probably put it in /usr/local/bin

Hmmm... Okay. Maybe I should do this:

If the binary is not named ohrrpgce-game...

and if the binary is located anywhere inside /usr/local
then it will check /usr/local/share/gamename/ and 
/usr/local/share/games/gamename/

and if the binary is located in /usr/bin or /usr/games
then it will check /usr/share/gamename/ and /usr/share/games/gamename/

I think that covers all the bases.

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to