On Mon, Jul 21, 2008 at 18:16:39 +0200, Bastian Venthur wrote:

> Please give me a concrete example, so I can implement your idea. Please
> test if it works with xdg-email and icedove. It also has to work
> combined with python's command.getoutput or at least from within Python.
> 
*sigh*

command="xdg-email ..."

if [ -d /usr/share/bug/$pkg ]; then
        script=/usr/share/bug/$pkg/script
else
        script=/usr/share/bug/$pkg
fi
if [ -x $script ]; then
        foo=$(mktemp)
        /usr/share/reportbug/handle_bugscript $script $foo
        command="$command --attach $foo"
fi
$command

I don't know python, but I'm sure something like that is pretty easy.
And no, I'm not going to test with icedove.

Cheers,
Julien



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

Reply via email to