On Mon, Dec 04, 2006 at 02:45:26AM +0000, Stephen Gran wrote:

> > > Why exactly do you need a pre-depends to use a perl module in postinst?

> > Because:

> > [EMAIL PROTECTED]:/tmp/bonsai-1.3+cvs20060111/debian$ grep use.*File 
> > bonsai.postinst 
> > use File::Find;

> > The postinst is a Perl file.

> You need Pre-Depends only when a package must be configured before your
> postinst is run.  In the case of a perl module, I would think it only
> needs to be unpacked.

No, you need a Pre-Depends only when a package must be configured before
your *preinst* is run.  Packages are always configured in dependency order.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


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

Reply via email to