Hello,

On Thu, 01 Jul 2010, 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>

Seconded.

Cheers,
-- 
Raphaƫl Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/

Attachment: signature.asc
Description: Digital signature

Reply via email to