diff options
Diffstat (limited to '')
-rw-r--r-- | tags/m/maintainer-script-does-not-check-for-existence-of-installdocs.tag | 12 |
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 > /dev/null; then + install-docs -i /usr/share/doc-base/<your-package> + fi |