Package: lintian
Version: 2.15.0
Severity: wishlist
Dear Maintainer,
please consider following situation:
* upstream build system incorrectly installs binary into $(prefix)/bin
* package maintainer moves it into $(prefix)/sbin
[ or via-verse, although it is more rare ]
* there still may be files around, that refer to previous location of
binary, like:
+ supplementary scripts
+ .desktop files
+ init-system integration files
+ hardcoded path in other binaries (yes, it happens)
So here is my proposal: for each binary /usr/bin/foo and /usr/sbin/bar,
scan all files for "/usr/sbin/foo" and "/usr/bin/bar" and report any
occurence for possible mismatch.
I believe, that if we exclude /usr/share/doc/ from examination, false
positive should not happen very often. Still, obliviously, this check is
to be of "wild-guess" category.
Opinions?
Attachment:
pgpPx40mfRCTX.pgp
Description: PGP signature