Tweak ordering of firmware package checks

Let's minimise repeat logging of ignores
This commit is contained in:
Steve McIntyre 2023-07-04 18:11:38 +01:00
parent 00ea28267d
commit b4265d6078
1 changed files with 6 additions and 6 deletions

View File

@ -57,13 +57,13 @@ sub check_packages($$@) {
next; next;
} }
# Don't include packages that we're told to exclude
if ($excluded{$pkg}) {
print STDERR " Ignoring $pkg\n";
next;
}
if (!exists $seen{$filename}) { if (!exists $seen{$filename}) {
# Don't include packages that we're told to exclude
if ($excluded{$pkg}) {
print STDERR " Ignoring $pkg\n";
next;
}
$seen{$filename} = 1; $seen{$filename} = 1;
if (contains_firmware($mirror, $filename)) { if (contains_firmware($mirror, $filename)) {
printf STDERR " %-35s (%s)\n", $pkg, $filename; printf STDERR " %-35s (%s)\n", $pkg, $filename;