summaryrefslogtreecommitdiffstats
path: root/tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag')
-rw-r--r--tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag12
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag b/tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag
new file mode 100644
index 0000000..7bac250
--- /dev/null
+++ b/tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag
@@ -0,0 +1,12 @@
+Tag: maintainer-script-does-not-check-for-existence-of-installdocs
+Severity: error
+Check: menus
+Explanation: The maintainer script calls the <code>install-docs</code> command without
+ checking that it exists, but the <code>doc-base</code> package, which provides
+ the command, is not an <code>essential</code> package and may not be available.
+ .
+ For example, you can use the following code in your maintainer script:
+ .
+ if which install-docs &gt; /dev/null; then
+ install-docs -i /usr/share/doc-base/&lt;your-package&gt;
+ fi