[debhelper-devel] Bug#871959: Bug#871959: debhelper: dh_installdeb does not run executable package.triggers to generate triggers
Niels Thykier
niels at thykier.net
Sun Aug 13 08:48:00 UTC 2017
Andreas Beckmann:
> Package: debhelper
> Version: 10.7.2
> Severity: normal
>
Hi,
> in src:glx-alternatives I have a script to generate
> debian/glx-alternative-mesa.triggers, but unfortunately I have to run it
> explicitly from debian/rules, I cannot just make it executable and name
> it debian/glx-alternative-mesa.triggers as it works with other files.
>
Would you also expect that "postinst" (etc.) behaved the same? AFAICT,
there is no reason why it should not apply to them as well if triggers
started doing this.
> dh_installdeb also generates 'Pre-Depends: dpkg (>> ...)', for having
> .maintscript files.
> It might be useful to something similar for triggers, according to
> deb-triggers(5) this must be 'Pre-Depends: dpkg (>= 1.16.1)' for
> -noawait triggers and 'Pre-Depends: dpkg (>= 1.17.21)' for -await
> triggers.
>
>
> Andreas
>
> [...]
These are actually somewhat obsolete as the versions are satisfied in
oldoldstable. I have opted for removing the remaining versioned
constraints.
Thanks,
~Niels
More information about the debhelper-devel
mailing list