aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Signature.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-08-21 11:25:50 +0000
committerFrancois Pons <fpons@mandriva.com>2003-08-21 11:25:50 +0000
commitdeb40023171c3f2d5bc2cf6bdd33dedb087c2831 (patch)
tree195252cd5fc6d1f7e1c138cd2a11078fe6d8f72a /URPM/Signature.pm
parent1d568cf14211a156cefce841234cde3294d7ad00 (diff)
downloadperl-URPM-deb40023171c3f2d5bc2cf6bdd33dedb087c2831.tar
perl-URPM-deb40023171c3f2d5bc2cf6bdd33dedb087c2831.tar.gz
perl-URPM-deb40023171c3f2d5bc2cf6bdd33dedb087c2831.tar.bz2
perl-URPM-deb40023171c3f2d5bc2cf6bdd33dedb087c2831.tar.xz
perl-URPM-deb40023171c3f2d5bc2cf6bdd33dedb087c2831.zip
fixed with gc suggestion which are really fine (and right).
Diffstat (limited to 'URPM/Signature.pm')
-rw-r--r--URPM/Signature.pm2
1 files changed, 1 insertions, 1 deletions
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,
};