From b97fd19159dd454be4cdf46cbfad542a3c6d05f2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 1 Jan 2018 17:24:51 -0800 Subject: [PATCH] Do not skip binary packages if sources do not exist. - This fixes issues where -udeb packages were not thought to be in a distribution, causing issues with #885556 --- examples/debian/versions/build-versions-db | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/debian/versions/build-versions-db b/examples/debian/versions/build-versions-db index 70b7b92..6d22696 100755 --- a/examples/debian/versions/build-versions-db +++ b/examples/debian/versions/build-versions-db @@ -206,10 +206,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"; -- 2.39.2