From 2e339240aa550ef5568b47aa39adcb077027885c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 13 Dec 2012 15:29:54 +0000 Subject: s/mdv/mga/ --- urpm/media.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urpm') diff --git a/urpm/media.pm b/urpm/media.pm index 97228f76..7f38dd0b 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -182,7 +182,7 @@ sub _read_config__read_media_info { my $media_cfg = $media_dir . '/media.cfg'; my $distribconf = MDV::Distribconf->new($media_cfg, undef) or next; - $distribconf->settree('mandriva'); + $distribconf->settree('mageia'); $distribconf->parse_mediacfg($media_cfg) or next; foreach (cat_($media_dir . '/url')) { @@ -953,7 +953,7 @@ sub add_distrib_media { urpm::removable::try_mounting_medium_($urpm, $m) or $urpm->{error}(N("directory %s does not exist", $url)); $distribconf = MDV::Distribconf->new(file_from_file_url($url) || $url, undef); - $distribconf->settree('mandriva'); + $distribconf->settree('mageia'); my $dir = file_from_local_medium($m); my $media_cfg = reduce_pathname("$dir/" . $distribconf->getpath(undef, 'infodir') . '/media.cfg'); @@ -1068,7 +1068,7 @@ sub _new_distribconf_and_download { my ($urpm, $medium) = @_; my $distribconf = MDV::Distribconf->new($medium->{url}, undef); - $distribconf->settree('mandriva'); + $distribconf->settree('mageia'); $urpm->{log}(N("retrieving media.cfg file...")); my $url = $medium->{url}; -- cgit v1.2.1