summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-03 17:02:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-03 17:02:53 +0000
commit975eb4c4b4d7dae030207afd1672c0f1faaf3dde (patch)
treef74d81a82100f6796882730d24d179d84face5cf /urpm/download.pm
parent55c9c2cede5d28651c30b83c087ca6a9276d7ddc (diff)
downloadurpmi-975eb4c4b4d7dae030207afd1672c0f1faaf3dde.tar
urpmi-975eb4c4b4d7dae030207afd1672c0f1faaf3dde.tar.gz
urpmi-975eb4c4b4d7dae030207afd1672c0f1faaf3dde.tar.bz2
urpmi-975eb4c4b4d7dae030207afd1672c0f1faaf3dde.tar.xz
urpmi-975eb4c4b4d7dae030207afd1672c0f1faaf3dde.zip
"nicer" debug/log message
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 83c6709f..c626ca6c 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -784,7 +784,7 @@ sub sync_rel {
my @files = map { reduce_pathname("$medium->{url}/$_") } @$rel_files;
- my $files_text = join(' ', map { url_obscuring_password($_) } @files);
+ my $files_text = join(' ', ($medium->{mirrorlist} && $urpm->{allow_metalink} ? ($medium->{mirrorlist}, $medium->{'with-dir'}) : url_obscuring_password($medium->{url})), @$rel_files);
$urpm->{debug} and $urpm->{debug}(N("retrieving %s", $files_text));
eval {