Lintian tag information: maintainer-script-does-not-check-for-existence-of-installdocs (type: error)

Description (from lintian-explain-tags)

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

Visibility: error
Show-Always: no
Check: menus

Show affected packages