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

Re: [PATCH 2/2] Reimplement dpkg-divert in C



Hi!

On Thu, 2009-10-22 at 11:29:04 +0200, Goswin von Brederlow wrote:
> Mikhail Gusarov <dottedmag@dottedmag.net> writes:
> > Is --list supposed to be only human-readable? Then we can change output
> > format a bit to make it more localizable (12 similar strings like "local
> > diversion of %s to %s by %s", "diversion of %s", "any diversion of %s by
> > %s"... are localizable, but insane).
> 
> I think some maintainer scripts use --list. But I think they only care
> wether there is a diversion. Maybe a --test for testing if something
> is already diverted by a previous version and --list for users would
> be better.

dpkg-divert already has a --test option which is a dry-run. Also
there's already --listpackage and --truename to be used for such
automated checks.

regards,
guillem


Reply to: