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, 1 insertions, 3 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 34ae11d6..bb2a0682 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1250,9 +1250,7 @@ sub get_descriptions_remote {
unlink "$urpm->{cachedir}/partial/descriptions";
urpm::sys::move_or_die($urpm, statedir_descriptions($urpm, $medium), "$urpm->{cachedir}/partial/descriptions");
}
- my $result = urpm::download::sync_rel_one($urpm, $medium, 'media_info/descriptions', quiet => 1, preclean => 1)
- || #- try older location
- urpm::download::sync_rel_one($urpm, $medium, '../descriptions', quiet => 1, preclean => 1);
+ my $result = urpm::download::sync_rel_one($urpm, $medium, 'media_info/descriptions', quiet => 1, preclean => 1);
if ($result) {
urpm::sys::move_or_die($urpm, $result, statedir_descriptions($urpm, $medium));