Hi Peter & thanks for your positive feedback.

Am Sonntag 13 Juli 2008 schrieb Peter De Wachter:
> to figure out the correct command to ...

what I do usually when the $packagename does not 
include /usr/bin/$packagename is a

apt-file list $packagename |grep "usr/bin/"

        ... resulting in:

$packagename: /usr/bin/$binaryname

Sometimes there are default options, and here you might be right to 
check for

apt-file list $packagename |grep "usr/share/menu"
--> /usr/share/menu/$menuname

grep command /usr/share/menu/$menuname
-->  command="/usr/bin/$binaryname $options"\

This is straightforward - but would imply dependencies on apt-file. 
Additional, apt-file list commands are quite slow (expect 2-3 seconds 
per package).

It should be considered to add a command field per package (same pattern 
as for screenshos and infotext).

Regards
Ralf







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to