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

Re: pre-depending



Hi!

On Thu, Apr 04, 2002 at 03:55:29PM -0600, Gunnar Wolf wrote:
> I need debconf and wwwconfig-common for the package I am building. They
> need to be correctly installed by the time I run the postinst - I think
> that they should be mentioned as pre-depends... Now, as I read, before
> including somehting as pre-depends, I should check this with debian-devel.

I think that a simple Depends: is enough if you only need the depended
package in the postinst.

(Checking in policy...)

In 7.2:
  The Depends field should also be used if the postinst, prerm or
  postrm scripts require the package to be present in order to run.

So, a Depends: would be enough.


Regards,

Nicolas


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: