From 75602de7c34fec0ad8c99c64a674ce79d1ae6d90 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 30 Jun 2010 11:16:23 -0700 Subject: [PATCH] Forbid dpkg-divert --local in package maintainer scripts State that package maintainer scripts must use --package and must not use --local when invoking dpkg-divert. --- policy.sgml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/policy.sgml b/policy.sgml index 9fe7158..587a6b2 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1214,9 +1214,11 @@

- You should not use dpkg-divert on a file - belonging to another package without consulting the - maintainer of that package first. + You should not use dpkg-divert on a file belonging + to another package without consulting the maintainer of that + package first. Package maintainer scripts must provide + the --package flag to dpkg-divert and must + not use --local.

-- 2.39.5