summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 2862351e..878662ee 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -359,11 +359,11 @@ sub any_media_info_file {
}
sub any_hdlist {
my ($urpm, $medium, $quiet) = @_;
- any_media_info_file($urpm, $medium, 'hdlist', '.cz', $quiet);
+ any_media_info_file($urpm, $medium, 'hdlist', '.cz', $quiet, \&urpm::download::sync_logger);
}
sub any_xml_info {
my ($urpm, $medium, $xml_info, $quiet, $o_callback) = @_;
- any_media_info_file($urpm, $medium, $xml_info, '.xml.lzma', $quiet, $o_callback);
+ any_media_info_file($urpm, $medium, $xml_info, '.xml.lzma', $quiet, $o_callback || \&urpm::download::sync_logger);
}
sub name2medium {