Re: Packages with empty directories
On Wednesday 21 November 2007 04:08:44 am Josselin Mouette wrote:
> Le mercredi 21 novembre 2007 à 05:20 +0100, Michael Biebl a écrit :
> > Imho adding a lintian check for empty /usr/bin, /usr/sbin, /usr/lib and
> > /usr/include directories (as created by dh-make) would be a good start.
> Maybe we could check for empty directories except for a number of common
> false positives (like the python-support directories or /var/games), and
> for the rest, grep in the maintainer scripts.
Some of the common false positives are /var/lib/<pkg> or /etc/<pkg>, or
subdirectories under one of those. Since <pkg> often doesn't match the
binary package name exactly, I don't see any easy way to detect these cases.