From a17f51c690226892c84f12815fd4fbfb957d2f38 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Mar 2006 19:19:21 +0000 Subject: the new structure use an array of mirrors and not anymore a hash --- mdkupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdkupdate') 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 }); -- cgit v1.2.1