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>

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to