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 bd07632d18
commit 57b400b7f6
1 changed files with 6 additions and 6 deletions

View File

@ -57,13 +57,13 @@ sub check_packages($$@) {
next;
}
# Don't include packages that we're told to exclude
if ($excluded{$pkg}) {
print STDERR " Ignoring $pkg\n";
next;
}
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;
if (contains_firmware($mirror, $filename)) {
printf STDERR " %-35s (%s)\n", $pkg, $filename;