aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Signature.pm
diff options
context:
space:
mode:
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,
};