diff options
author | Francois Pons <fpons@mandriva.com> | 2003-08-21 09:27:25 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-08-21 09:27:25 +0000 |
commit | 49dc49c2aa3add023418a43e592479bc26d3857e (patch) | |
tree | d8fcf0ee23c0b0135cbe0fe224d7cfef9f334727 /perl-install/install_any.pm | |
parent | 85098bb5fda94183422ec8284f6de1ad0faf57d8 (diff) | |
download | drakx-49dc49c2aa3add023418a43e592479bc26d3857e.tar drakx-49dc49c2aa3add023418a43e592479bc26d3857e.tar.gz drakx-49dc49c2aa3add023418a43e592479bc26d3857e.tar.bz2 drakx-49dc49c2aa3add023418a43e592479bc26d3857e.tar.xz drakx-49dc49c2aa3add023418a43e592479bc26d3857e.zip |
added some log when importing pbukey block and when key id have been found.
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index a4e9bc4ec..6a0dbb38c 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -509,6 +509,7 @@ sub install_urpmi { URPM::compare_pubkeys($k, $kv) == 0 and $id = $kv->{id}, last; } unless ($id) { + log::l("importing pubkey block"); URPM::import_pubkey(block => $k->{block}, db => $db); $packages->parse_pubkeys(db => $db); foreach my $kv (values %{$packages->{keys} || {}}) { @@ -516,7 +517,10 @@ sub install_urpmi { } } #- the key has been found, take care of it for the given medium. - $id and $medium->{key_ids}{$id} = undef; + if ($id) { + log::l("found key id=$id for medium $medium->{descr}"); + $medium->{key_ids}{$id} = undef; + } } } |