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

Bug#218897: Explicitily disallow adding local diversion by package

Guillem Jover <guillem@debian.org> writes:

> Ok, even if this has been merged already and closed, I've been meaning
> to mention something I've considered implementing. dpkg-divert would get
> the package name from the DPKG_MAINTSCRIPT_PACKAGE environment variable,
> which would change the default of local.  Specifying --package would
> override the environment variable. This should probably reduce
> inadvertent mistakes or omissions, and make it a bit more strightforward
> for maintainers.

Yeah, that's a good idea.  I'm happy to change Policy to not require
--package when that's available (although given how these things work, I
suspect that would need to wait until a version of dpkg with that change
was released in stable, unless packages started adding versioned

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: