1 |
diff -up smeserver-yum-2.2.0/root/etc/e-smith/events/actions/yum-import-keys.import-keys smeserver-yum-2.2.0/root/etc/e-smith/events/actions/yum-import-keys |
2 |
--- smeserver-yum-2.2.0/root/etc/e-smith/events/actions/yum-import-keys.import-keys 2008-10-07 16:25:45.000000000 +0200 |
3 |
+++ smeserver-yum-2.2.0/root/etc/e-smith/events/actions/yum-import-keys 2009-10-14 13:06:49.000000000 +0200 |
4 |
@@ -37,7 +37,11 @@ sub parse_key { |
5 |
next; |
6 |
} |
7 |
|
8 |
- return $key if m#END PGP PUBLIC KEY BLOCK#; |
9 |
+ if (m#END PGP PUBLIC KEY BLOCK#) { |
10 |
+ $key .= $1 if (m/^(.+)-----END PGP PUBLIC KEY BLOCK/); |
11 |
+ return $key; |
12 |
+ } |
13 |
+ |
14 |
|
15 |
$key .= $_ if m#^\S+$# && $good; |
16 |
} |