diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-13 15:29:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-13 15:29:54 +0000 |
commit | 2e339240aa550ef5568b47aa39adcb077027885c (patch) | |
tree | 9837a801f1b49f3020a3dc124c07091357e9e72f /urpm/media.pm | |
parent | eb415462afa2a8e6caaecd89eb2329d28cc4a9b0 (diff) | |
download | urpmi-2e339240aa550ef5568b47aa39adcb077027885c.tar urpmi-2e339240aa550ef5568b47aa39adcb077027885c.tar.gz urpmi-2e339240aa550ef5568b47aa39adcb077027885c.tar.bz2 urpmi-2e339240aa550ef5568b47aa39adcb077027885c.tar.xz urpmi-2e339240aa550ef5568b47aa39adcb077027885c.zip |
s/mdv/mga/
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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}; |