On 2010-06-18, Julien Cristau <jcris...@debian.org> wrote:
[dpkg-maintscript-helper]
>> This means though, your package needs to add a versioned depends on dpkg,=
>  which
>> imho is not so nice.
> Make that pre-depends, since you need it in preinst iirc.

As documented in its manpage, at least.  It looks a tad misleading, though:

| But  in  many  cases  the operation done by the program is not critical
| for the package, and instead of using a pre-dependency we can call the program
| only if we know that the required command is supported by the currently
| installed dpkg:
|
|   if dpkg-maintscript-helper supports <command>; then
|     dpkg-maintscript-helper <command> ...
|   fi

That should still require a pre-depends on the dpkg version containing
dpkg-maintscript-helper, unless the script itself is also only called
conditionally.

Kind regards,
Philipp Kern



-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrni1n7u3.b24.tr...@kelgar.0x539.de

Reply via email to