From deaaee9f193b396cdb2801713385ca01836f9e96 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 24 Aug 2012 11:17:05 +0000 Subject: (_check) warn when a medium has no signature --- urpm/signature.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm/signature.pm') 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}->( -- cgit v1.2.1