On Thursday 01 July 2010 12:30:50 Russ Allbery wrote: > Raphael Geissert <geiss...@debian.org> writes: > > I think it should be more clear and mention that --package must be used > > when adding or removing diversions. --list{,name} and --truename don't > > require --package. > > Good point. Here's an updated patch. > > diff --git a/policy.sgml b/policy.sgml > index 9fe7158..c7f2a4e 100644 > --- a/policy.sgml > +++ b/policy.sgml > @@ -1214,9 +1214,11 @@ > </p> > > <p> > - You should not use <prgn>dpkg-divert</prgn> on a file > - belonging to another package without consulting the > - maintainer of that package first. > + You should not use <prgn>dpkg-divert</prgn> on a file belonging > + to another package without consulting the maintainer of that > + package first. When adding or removing diversions, package > + maintainer scripts must provide the <tt>--package</tt> flag > + to <prgn>dpkg-divert</prgn> and must not use <tt>--local</tt>. > </p> > > <p>
Seconded. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net
signature.asc
Description: This is a digitally signed message part.