From deb40023171c3f2d5bc2cf6bdd33dedb087c2831 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 21 Aug 2003 11:25:50 +0000 Subject: fixed with gc suggestion which are really fine (and right). --- URPM/Signature.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'URPM') diff --git a/URPM/Signature.pm b/URPM/Signature.pm index b3ca91b..5ef9bbe 100644 --- a/URPM/Signature.pm +++ b/URPM/Signature.pm @@ -42,7 +42,7 @@ sub parse_pubkeys { my $inside_block = /^$/ ... /^-----END PGP PUBLIC KEY BLOCK-----$/; if ($inside_block > 1) { if ($inside_block =~ /E/) { - $urpm->{keys}{$p->version} = { $p->summary =~ /^gpg\(\)$/ ? (name => $1) : @{[]}, + $urpm->{keys}{$p->version} = { $p->summary =~ /^gpg\((.*)\)$/ ? (name => $1) : @{[]}, id => $p->version, content => $content, }; -- cgit v1.2.1