diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 11:40:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-02 11:40:38 +0000 |
commit | f35dc310ab251245afa9a864e2f1d30d22937595 (patch) | |
tree | a724dfce843e207c637f77c0b01265dba08fc601 /mdkupdate | |
parent | 8611e51d4d4d1c3d5452bd9f147cc6f662144160 (diff) | |
download | mgaonline-f35dc310ab251245afa9a864e2f1d30d22937595.tar mgaonline-f35dc310ab251245afa9a864e2f1d30d22937595.tar.gz mgaonline-f35dc310ab251245afa9a864e2f1d30d22937595.tar.bz2 mgaonline-f35dc310ab251245afa9a864e2f1d30d22937595.tar.xz mgaonline-f35dc310ab251245afa9a864e2f1d30d22937595.zip |
install all mirrors for bundles
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,8 +144,8 @@ if (!$bundle) { print Dumper($bundle_info); if ($bundle_info->{status}) { my @bundles; - my ($media, $mirror, $bundle) = ($bundle_info->{data}->{media_name}, $bundle_info->{data}->{mirror}, $bundle_info->{data}->{bundle}); - add_media($media, $mirror, 'hdlist.cz', ''); + 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; $bundle =~ s/\.rpm$//; push(@bundles, $bundle); install_pkgs($in, \@bundles, $media); |