summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-14 06:44:47 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-14 06:44:47 +0000
commit18bc6d79289ecf7457b5ec210dd3398ca36c86ef (patch)
tree63ef883e26731174b89565169771dc08fdefb7be /urpm
parent0f26330add0bf6d3cf912970aea0152302551020 (diff)
downloadurpmi-18bc6d79289ecf7457b5ec210dd3398ca36c86ef.tar
urpmi-18bc6d79289ecf7457b5ec210dd3398ca36c86ef.tar.gz
urpmi-18bc6d79289ecf7457b5ec210dd3398ca36c86ef.tar.bz2
urpmi-18bc6d79289ecf7457b5ec210dd3398ca36c86ef.tar.xz
urpmi-18bc6d79289ecf7457b5ec210dd3398ca36c86ef.zip
(_mandriva_mirrorlist) default to mageia product for upgrading from mdv
(syncing with currently shipped urpmi)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/mirrors.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index 0992c814..3c9ebb25 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -304,7 +304,8 @@ sub _mandriva_mirrorlist {
my @para = grep { $_ } $ENV{URPMI_ADDMEDIA_REASON};
my $product_version = $ENV{URPMI_ADDMEDIA_PRODUCT_VERSION} || $product_id->{version};
- "http://mirrors.mageia.org/api/$product_type.$product_version.$arch.list"
+ #"http://mirrors.mageia.org/api/$product_type.$product_version.$arch.list"
+ "http://mirrors.mageia.org/api/mageia.$product_version.$arch.list"
. (@para ? '?' . join('&', @para) : '');
}