summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-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;
}