summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-01 15:20:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-01 15:20:39 +0000
commit6d8e4dfb2d3e651f39e331a4a616cdde51a50d92 (patch)
tree29671a7e9c95d87cd4d262a30dfaf1afaffa3546
parent73e558d02f058580190c9fbbdc5242569d1101e6 (diff)
downloadurpmi-6d8e4dfb2d3e651f39e331a4a616cdde51a50d92.tar
urpmi-6d8e4dfb2d3e651f39e331a4a616cdde51a50d92.tar.gz
urpmi-6d8e4dfb2d3e651f39e331a4a616cdde51a50d92.tar.bz2
urpmi-6d8e4dfb2d3e651f39e331a4a616cdde51a50d92.tar.xz
urpmi-6d8e4dfb2d3e651f39e331a4a616cdde51a50d92.zip
log the copying of pubkey (backport from trunk)
-rw-r--r--urpm/media.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index e12ba58f..7c96faa5 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}) . "/media_info/$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;
}