summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-02 19:19:21 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-02 19:19:21 +0000
commita17f51c690226892c84f12815fd4fbfb957d2f38 (patch)
treef16a47abfb8b18a99aed64aed12878f65ab4f28f
parent352d8c188b39278625b48983fd1d42974f20b1e4 (diff)
downloadmgaonline-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-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 55caf610..65bb6be6 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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 });