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

Re: warning: menu-command-not-in-package



Matt Brubeck wrote:
> Justin Pryzby wrote:
> 
> 
>>Instead, install what is presently /usr/games/yadex to
>>/usr/lib/yadex/... and install a one-line wrapper script to
>>/usr/games/yadex:
>>
>>	#!/bin/sh -e
>>	exec x-terminal-emulator -e /usr/lib/yadex/...
> 
> 
> One small downside to this idea is that it is not the expected behavior
> for a user who already has an xterm open and types 'yadex' into it.
> 
> 
Maybe /usr/games/yadex could be the real binary, and that script
(s%/lib/yadex/\.\.\.$%/games/yadex%) could be /usr/games/yadex-gui.

The menu option could execute /usr/games/yadex-gui, but someone typing
yadex<enter> in a terminal emulator would get the expected results.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/CM$/CS>$/CC/IT$/M/S/O/U dpu s+:++ !a C++$>C+++$
UB+++>++++$L++++$*-- P+>++$ L+++(++++)$ E-(---) W+++>$ N(+) o? K-
w--(---) O? M V? PS++@ PE-@ Y+@ PGP++(+++)>$ t? 5? X? R tv--(-)
b++(+++)@ DI? D? G e->++++ h* r? z*
------END GEEK CODE BLOCK------

David Mandelberg
mandelbergd@eth0.is-a-geek.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: