Magnus Holmgren wrote:
> Is there any correct version number comparing function readily available, or 
> just dpkg --compare-versions (which must be overkill)?
> 
> If the tests can be done in ascending order, no version comparisons are 
> needed 
> at all.

Yes, that's a good approach.

> That's how I've done in this version of the patch, which also 
> includes a simple (but definitely less failure-prone than grepping maintainer 
> scripts) check for the "error" template type (easy to leave out if you don't 
> like it).

The problem with this check is that it's possible for a package to have
an error template, not depend on any special version of debconf, and
still detect if debconf doesn't understand the template, and fall back
to some other behavior, such as using a note template, or even
converting the error template into a note template on the fly.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to