On Tue, Jun 19, 2001 at 08:16:59PM -0700, Sean 'Shaleh' Perry wrote: > > On 19-Jun-2001 Julian Gilbey wrote: > > On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: > >> And how am I to tell a package that is empty on purpose from one created by > >> accident? What constitutes empty? > > > > Maybe have a lintian warning about an empty package, but no error > > messages. > > > > while not opposed to this, it is definately non-trivial to implement, sorry > all.
Somewhere around line 1100 of /usr/bin/lintian (not sure exactly where), you could essentially have the following code: { local $/; open FILELIST, "$base/index"; my $filelist = <FILELIST>; if ($filelist eq "./\n") { print "W: no files in binary package $pkg\n"; next PACKAGE; } } Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/