summaryrefslogtreecommitdiffstats
path: root/tags/p/package-uses-local-diversion.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/p/package-uses-local-diversion.tag')
-rw-r--r--tags/p/package-uses-local-diversion.tag8
1 files changed, 8 insertions, 0 deletions
diff --git a/tags/p/package-uses-local-diversion.tag b/tags/p/package-uses-local-diversion.tag
new file mode 100644
index 0000000..5729a57
--- /dev/null
+++ b/tags/p/package-uses-local-diversion.tag
@@ -0,0 +1,8 @@
+Tag: package-uses-local-diversion
+Severity: error
+Check: maintainer-scripts/diversion
+Explanation: The named maintainer script calls <code>dpkg-divert</code> with
+ <code>--local</code> or without <code>--package</code>. Those usages are
+ reserved for local administrators and must not be used by a Debian package.
+See-Also:
+ debian-policy 3.9