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

Re: RFC: declaritive diversions

On Tue, Jul 03, 2007 at 04:19:15PM +0100, Ian Jackson wrote:
> Ideally the setup should allow the same packages to declare diversions
> both ways.  This would make the transition a lot easier.

if ! dpkg --assert-declarative-diversions 2>/dev/null; then
	dpkg --divert etc.

Given that we already seem to have such assertions in place, it doesn't sound
too bad to me. debhelper could even generate such snippets from .diversions
files automatically for as long as needed.

/* Steinar */
Homepage: http://www.sesse.net/

Reply to: