diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 19:19:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 19:19:21 +0000 |
commit | a17f51c690226892c84f12815fd4fbfb957d2f38 (patch) | |
tree | f16a47abfb8b18a99aed64aed12878f65ab4f28f | |
parent | 352d8c188b39278625b48983fd1d42974f20b1e4 (diff) | |
download | mgaonline-a17f51c690226892c84f12815fd4fbfb957d2f38.tar mgaonline-a17f51c690226892c84f12815fd4fbfb957d2f38.tar.gz mgaonline-a17f51c690226892c84f12815fd4fbfb957d2f38.tar.bz2 mgaonline-a17f51c690226892c84f12815fd4fbfb957d2f38.tar.xz mgaonline-a17f51c690226892c84f12815fd4fbfb957d2f38.zip |
the new structure use an array of mirrors and not anymore a hash
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ if (!$bundle) { if ($bundle_info->{status}) { my @bundles; my ($media, $mirrors, $bundle) = ($bundle_info->{data}{media_name}, $bundle_info->{data}{mirrors}, $bundle_info->{data}{bundle}); - add_media($media, $_, 'hdlist.cz', '') foreach keys %$mirrors; + add_media(split(';', $mirror, 2), 'hdlist.cz', '') foreach @$mirrors; $bundle =~ s/\.rpm$//; push(@bundles, $bundle); install_pkgs($in, \@bundles, $media, { is_bundle => 1 }); |