summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/media.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 3f90478c..2c3e102a 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1273,10 +1273,9 @@ sub get_synthesis__remote {
my ($urpm, $medium, $is_a_probe, $options) = @_;
my $ok = try__maybe_mirrorlist($urpm, $medium, $is_a_probe, sub {
- urpm::download::sync_rel_to($urpm, $medium, _url_with_synthesis_rel($medium),
- cachedir_with_synthesis($urpm, $medium),
- quiet => $options->{quiet}, callback => $options->{callback}) &&
- _check_synthesis(cachedir_with_synthesis($urpm, $medium));
+ _download_media_info_file($urpm, $medium, 'synthesis.hdlist', '.cz',
+ $options->{quiet}, undef, $options->{callback})
+ && _check_synthesis(cachedir_with_synthesis($urpm, $medium));
});
if (!$ok) {
chomp(my $err = $@);