On Thu, May 24, 2007 at 03:36:39PM +0530, Deepak Kumar Tripathi wrote:

> I am creating one debian package the problem .
> The package structure is it has two file abc.pl and abc.sh.
> 
> I want that when I will use dpkg -I <package_name> 

I assume you mean dpkg -i.

>. it will copy abc.pl
> and abc.sh into /tmp and run perl /tmp/abc.pl .

If you want to run command after installing the package, this isn't the
way to do it. Use a postinst script:
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-maintscripts

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


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

Reply via email to