summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-04 12:43:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-04 12:43:04 +0000
commit818ce8749aeaefcf874161b25469ab92716eaeab (patch)
tree85fd7800f7cc67c79af564ee76f60c75c4b7a549
parent7e603322c2ef2ce6fa03f77cceb274d304fe5b46 (diff)
downloadurpmi-818ce8749aeaefcf874161b25469ab92716eaeab.tar
urpmi-818ce8749aeaefcf874161b25469ab92716eaeab.tar.gz
urpmi-818ce8749aeaefcf874161b25469ab92716eaeab.tar.bz2
urpmi-818ce8749aeaefcf874161b25469ab92716eaeab.tar.xz
urpmi-818ce8749aeaefcf874161b25469ab92716eaeab.zip
log the copying of pubkey
-rw-r--r--urpm/media.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 2c27aa32..5cad2842 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1166,6 +1166,7 @@ sub _get_list_or_pubkey__local {
my $path = _hdlist_dir($medium) . "/$name" . _hdlist_suffix($medium);
-e $path or $path = file_from_local_url($medium->{url}) . "/$name";
if (-e $path) {
+ $urpm->{log}(N("copying [%s] for medium \"%s\"...", $path, $medium->{name}));
copy_and_own($path, "$urpm->{cachedir}/partial/$name")
or $urpm->{error}(N("...copying failed")), return;
}