diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:02 +0000 |
commit | 68a12cd37e94aa18180b0e888ca4330fcd687054 (patch) | |
tree | 286a64576d3ad2bac976cffb1f4539029dc87278 /urpm | |
parent | 93e333ecde929c31f9e5c85b94b31886194b51c1 (diff) | |
download | urpmi-68a12cd37e94aa18180b0e888ca4330fcd687054.tar urpmi-68a12cd37e94aa18180b0e888ca4330fcd687054.tar.gz urpmi-68a12cd37e94aa18180b0e888ca4330fcd687054.tar.bz2 urpmi-68a12cd37e94aa18180b0e888ca4330fcd687054.tar.xz urpmi-68a12cd37e94aa18180b0e888ca4330fcd687054.zip |
(_check) log when signature checking is disabled per medium
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/signature.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/urpm/signature.pm b/urpm/signature.pm index 7852e0f0..b70f5a99 100644 --- a/urpm/signature.pm +++ b/urpm/signature.pm @@ -47,6 +47,10 @@ sub _check { #- no medium found for this rpm ? next if !$medium; #- check whether verify-rpm is specifically disabled for this medium + if (defined $medium->{'verify-rpm'} && !$medium->{'verify-rpm'}) { + $urpm->{log}(N("NOT checking %s\n", $filepath)); + next; + } next if defined $medium->{'verify-rpm'} && !$medium->{'verify-rpm'}; my $key_ids = $medium->{'key-ids'} || $urpm->{options}{'key-ids'}; |