From 9331a32d25b0b5fd4e4fcc5cd75c4c4480420749 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Mon, 20 Dec 2010 09:25:17 +0000 Subject: should mathc upper and lower case --- check_sign_by_path.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_sign_by_path.pl b/check_sign_by_path.pl index ca2c131..c3c1944 100755 --- a/check_sign_by_path.pl +++ b/check_sign_by_path.pl @@ -43,7 +43,7 @@ foreach my $pkg (@list_pkg) { #my @command = `LC_ALL=C rpm --rcfile=$rpmrc --checksig -v $pkg | grep "key ID"`; my @command = `LC_ALL=C rpm --checksig -v $pkg | grep "key ID"`; foreach (@command) { - if ($_ =~ /$key/) { + if ($_ =~ /$key/i) { # dont print if it is OK # print "$pkg signature OK\n"; last; -- cgit v1.2.1