Merge pull request #2376 from DimStar77/kernel-certs

findfileconflicts: Ignore kernel installed certificates in /etc/uefi/…
This commit is contained in:
Dominique Leuenberger 2019-12-17 10:07:31 +01:00 committed by GitHub
commit e62caa7ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ for my $tc (sort keys %tocheck) {
}
# got one!
$f =~ /^(\d+)\/(.*)/;
push @con, "$dirs[$1]$2$info";
push @con, "$dirs[$1]$2$info" unless "$dirs[$1]$2" =~ m{/etc/uefi/certs/.*crt};
}
next unless @con;
my @sp1 = split(' ', $p1);