maintainer-script-does-not-check-for-existence-of-installdocs

The maintainer script calls the install-docs command without checking that it exists, but the doc-base package, which provides the command, is not an essential 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
Severity: error
Experimental: false

See also