summaryrefslogtreecommitdiffstats
path: root/urpm/signature.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-24 11:17:05 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-24 11:17:05 +0000
commitdeaaee9f193b396cdb2801713385ca01836f9e96 (patch)
tree30869ca96756889cdd92365431b8035f5927f7df /urpm/signature.pm
parent68a12cd37e94aa18180b0e888ca4330fcd687054 (diff)
downloadurpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.gz
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.bz2
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.xz
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.zip
(_check) warn when a medium has no signature
Diffstat (limited to 'urpm/signature.pm')
-rw-r--r--urpm/signature.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/signature.pm b/urpm/signature.pm
index b70f5a99..a77a0d6a 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -72,6 +72,8 @@ sub _check {
} elsif (!$valid_ids) {
$invalid_sources{$filepath} = N("Missing signature (%s)", $verif);
}
+ } else {
+ $invalid_sources{$filepath} = N("Medium without signature (%s)", $verif);
}
#- invoke check signature callback.
$options{callback} and $options{callback}->(