summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-02 11:40:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-02 11:40:38 +0000
commitf35dc310ab251245afa9a864e2f1d30d22937595 (patch)
treea724dfce843e207c637f77c0b01265dba08fc601 /mdkupdate
parent8611e51d4d4d1c3d5452bd9f147cc6f662144160 (diff)
downloadmgaonline-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-xmdkupdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkupdate b/mdkupdate
index 3e3fb251..3398ab5d 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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);