summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/media.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index b1c620ba..0a3f0694 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- use "versioned" media_info files
(needed for aria2 to handle mirrors not having some media_info/*)
+- urpmi.addmedia, urpmi.update:
+ o only look for "descriptions" in media_info/
- urpmi.addmedia:
o --distrib: do not skip "debug_for=" media
(debug media will be added with flag "ignore" if noauto=1)
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));