[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Bug#101325: lintian: empty (transition) packages shouldn't n



> 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;
>      }
>   }
> 

correct.  The hard part is not outputting any other errors because of it. 
Avoiding the no copyright, no docs, etc would not be as easy.



Reply to: