[SM-Commit] GIT changes to master games grimoire by Ismael Luceno (0c4896c0f879b53751326d30f74e30ed8719c24e)

Eric Sandall eric at sandall.us
Fri Mar 4 19:26:55 EST 2011


On Dec 15, 2010, at 9:22 AM, Ismael Luceno wrote:

> El Wed, 15 Dec 2010 07:15:21 +0100 (CET)
> Andraž 'ruskie' Levstik <ruskie at codemages.net> escribió:
>> :2010-12-14T15:35:Ismael Luceno:
>> 
>>> games-strategy-tbs/wesnoth/desktop/wesnoth.desktop |    7 +++++--
>>> 
>>> New commits:
>>> commit 0c4896c0f879b53751326d30f74e30ed8719c24e
>>> Author: Ismael Luceno <ismael at sourcemage.org>
>>> Commit: Ismael Luceno <ismael at sourcemage.org>
>>> 
>>>    wesnoth.desktop: use full path to the binary
>>> 
>>> @@ -34,6 +37,6 @@ Comment[sk]=Ťahová strategická hra z prostredia
>>> fantasy Icon=wesnoth-icon.png
>>> Terminal=false
>>> FilePattern=wesnoth
>>> -TryExec=wesnoth
>>> -Exec=wesnoth
>>> +TryExec=/usr/games/wesnoth
>>> +Exec=/usr/games/wesnoth
>>> Categories=Application;Game;
>> 
>> WHY? This will break the moment someone installs it somewhere else.
>> All that's needed for the other one to work is to add /usr/games to
>> the users PATH.
>> 
> 
> For consistency; other games do that way...
> 
> How could it be installed somewhere else *with this desktop file*??

You could autogenerate the .desktop files using $TRACK_ROOT, or just depend on $PATH being setup correctly for users that should be allowed to run the programs, as it was prior.

Just because others do it, doesn't mean it is the correct way. ;)

-sandalle

Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  http://counter.li.org/  #196285
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/sm-commit/attachments/20110304/e7833e52/attachment.html 


More information about the SM-Commit mailing list