diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:00 +0000 |
commit | 93e333ecde929c31f9e5c85b94b31886194b51c1 (patch) | |
tree | c4c6ff1c50f388b6c10a6226ad665bd714348fb2 /urpm/signature.pm | |
parent | 24cac3777cc6d90dc68c890e86fb9303707ad470 (diff) | |
download | urpmi-93e333ecde929c31f9e5c85b94b31886194b51c1.tar urpmi-93e333ecde929c31f9e5c85b94b31886194b51c1.tar.gz urpmi-93e333ecde929c31f9e5c85b94b31886194b51c1.tar.bz2 urpmi-93e333ecde929c31f9e5c85b94b31886194b51c1.tar.xz urpmi-93e333ecde929c31f9e5c85b94b31886194b51c1.zip |
(_check) warn about missing signatures and ask whether to install or not
(in the case where a package is unsigned and came from media without
signatures)
Diffstat (limited to 'urpm/signature.pm')
-rw-r--r-- | urpm/signature.pm | 3 |
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}) |