summaryrefslogtreecommitdiffstats
path: root/tags/m/maintainer-script-sets-alternative-improperly.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/m/maintainer-script-sets-alternative-improperly.tag')
-rw-r--r--tags/m/maintainer-script-sets-alternative-improperly.tag12
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/m/maintainer-script-sets-alternative-improperly.tag b/tags/m/maintainer-script-sets-alternative-improperly.tag
new file mode 100644
index 0000000..203875d
--- /dev/null
+++ b/tags/m/maintainer-script-sets-alternative-improperly.tag
@@ -0,0 +1,12 @@
+Tag: maintainer-script-sets-alternative-improperly
+Severity: warning
+Check: scripts
+Renamed-From: maintainer-script-should-not-use-update-alternatives-set
+Explanation: The maintainer script calls <code>update-alternatives --set
+ &lt;alternative&gt; foo</code> or <code>update-alternatives --config
+ &lt;alternative&gt;</code> or <code>update-alternatives --set-selections</code>.
+ .
+ This makes it impossible to distinguish between an alternative that's
+ manually set because the user set it and one that's manually set because
+ the package set it.
+See-Also: update-alternatives(8)