[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: game-package and handling locally built .debs



On 1/10/08, Andres Mejia <mcitadel@gmail.com> wrote:
> It sounds better to write a wrapper script that tests for these
> conditions and executes doom if all tests were true. Something like.
>
>    [ -x doom ] || xmessage "helpful message"
>    # Continue if doom was executable
>    doom
>
> This way, a desktop and/or menu entry can use the wrapper script, and
> you can avoid having to do some complex stuff with the desktop
> entries.

What is more complex, a single line in the desktop file, or an extra
wrapper script?

In any case, this is moot, because if the data packages depend on some
(virtual?) package providing an engine executable, then the desktop
entries can just assume the presence of the executable.


Reply to: