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

Re: Defer postinst after a given package



On Fri, Sep 09, 2022 at 10:32:18AM +0200, Fab Stz wrote:
> Hi,
> 
> I have a package B that depends on gradle, which depends on Java.
> B doesn't have a dependency to Java set in d/control.
> 
> B runs a postinst script which requires Java.
"The Depends field should also be used if the postinst or prerm scripts
require the depended-on package to be unpacked or configured in order to
run."
https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: