Lintian ReportsBETA

Tag versions

Wcommand-with-path-in-maintainer-script

The tag is present in Lintian version 2.113.26. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check scripts.

Visibility: warning

The indicated program run in a maintainer script has a prepended path. Programs called from maintainer scripts normally should not have a path prepended. dpkg ensures that the PATH is set to a reasonable value, and prepending a path may prevent the local administrator from using a replacement version of a command for some local reason.

If the path is used to test a program for existence, please use if which $program > /dev/null; then ….

If you intend to override this tag, please make sure that you are in control of the installation path of the according program and that you won't forget to change this maintainer script, too, if you ever move that program around.

For more information please consult:

The following 110 source packages in the archive triggered the tag 231 times (in any Lintian version).

We found 29 overrides. The tag performed 87% of the time.