]> git.donarmstrong.com Git - debbugs.git/blobdiff - examples/debian/versions/build-versions-db
include non-free-firmware; thanks to Cyril Brulebois for the patch
[debbugs.git] / examples / debian / versions / build-versions-db
index 70b7b927045bfe53379ffee328fece60d3bda500..2441998681f62f718b79d59da3320b0f49f64d8c 100755 (executable)
@@ -189,6 +189,7 @@ for my $suite (@{$suites}) {
     for my $component ('main', 'main/debian-installer',
                       'contrib', 'contrib/debian-installer',
                       'non-free', 'non-free/debian-installer',
+                      'non-free-firmware', 'non-free-firmware/debian-installer',
                      ) {
        my $componentdir = "$suitedir/$component";
        if (not -d $componentdir) {
@@ -206,10 +207,9 @@ for my $suite (@{$suites}) {
        my $sources = (grep { -f $_ } glob "$componentdir/source/Sources.*")[0];
        if (not defined $sources) {
            print STDERR "No sources matching $componentdir/source/Sources.*\n" if $DEBUG;
-           next;
+       } else {
+           read_packages($db,$db2,$sources, $viscomponent,'source',$suite);
        }
-       read_packages($db,$db2,$sources, $viscomponent,'source',$suite);
-
        for my $arch (readdir $COMPONENT) {
            next unless $arch =~ s/^binary-//;
            my $archdir = "$componentdir/binary-$arch";