summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/media.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 982eaaa5..6ade1335 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
you can now use more than one cdrom drive
o fix download progression using wget
- urpmf, urpmq:
+ o never display raw downloader output, otherwise output is very messy (#38125)
o do not try to download xml-info if it's not available (#38125)
- urpmi.addmedia:
o fix --distrib for cdroms (#30613)
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 {