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

Re: RFC: declaritive diversions

Steinar H. Gunderson writes ("Re: RFC: declaritive diversions"):
> if ! dpkg --assert-declarative-diversions 2>/dev/null; then
> 	dpkg --divert etc.
> fi

I would prefer to do this in dpkg-divert.  Eg
   dpkg-divert --also-declaratively-declared ...

> 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.

dpkg --assert... may or may not quite right during the transition,
because it talks about the installed version of dpkg rather than the
actually-running one.  We need to do a proper design for the
transition I think.


Reply to: