summaryrefslogtreecommitdiffstats
path: root/tags/r/remove-of-unknown-diversion.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/r/remove-of-unknown-diversion.tag')
-rw-r--r--tags/r/remove-of-unknown-diversion.tag9
1 files changed, 9 insertions, 0 deletions
diff --git a/tags/r/remove-of-unknown-diversion.tag b/tags/r/remove-of-unknown-diversion.tag
new file mode 100644
index 0000000..5a43a46
--- /dev/null
+++ b/tags/r/remove-of-unknown-diversion.tag
@@ -0,0 +1,9 @@
+Tag: remove-of-unknown-diversion
+Severity: error
+Check: maintainer-scripts/diversion
+Explanation: The named maintainer script removes a diversion that it did not
+ add.
+ .
+ When cleaning up unnecessary diversions from old versions of the package,
+ please remove them in <code>preinst</code> or <code>postinst</code>. Do
+ not use <code>postrm</code> for that purpose.