summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/signature.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/signature.pm b/urpm/signature.pm
index 235867bf..7852e0f0 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -31,6 +31,9 @@ sub _check {
if ($verif =~ /NOT OK/) {
$verif =~ s/\n//g;
$invalid_sources{$filepath} = N("Invalid signature (%s)", $verif);
+ } elsif ($verif =~ /OK \(\(none\)\)/ ) {
+ $verif =~ s/\n//g;
+ $invalid_sources{$filepath} = N("Missing signature (%s)", $verif);
} else {
unless ($medium && urpm::media::is_valid_medium($medium) &&
$medium->{start} <= $id && $id <= $medium->{end})