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.

Ian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to