summaryrefslogtreecommitdiffstats
path: root/mdkapplet-restricted-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-03 15:19:44 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-03 15:19:44 +0000
commitb662b030f4dad9681ed84f267b3e8792cbe97999 (patch)
tree5e594ef5ada1b65a4c1d4f29b95ac6c7a704c7be /mdkapplet-restricted-helper
parent2c34f05b496d35d9a1de3f8ba0658c6511edf348 (diff)
downloadmgaonline-b662b030f4dad9681ed84f267b3e8792cbe97999.tar
mgaonline-b662b030f4dad9681ed84f267b3e8792cbe97999.tar.gz
mgaonline-b662b030f4dad9681ed84f267b3e8792cbe97999.tar.bz2
mgaonline-b662b030f4dad9681ed84f267b3e8792cbe97999.tar.xz
mgaonline-b662b030f4dad9681ed84f267b3e8792cbe97999.zip
(add_restricted_medium) add 32 bit repositories on x86_64 too
Diffstat (limited to 'mdkapplet-restricted-helper')
-rwxr-xr-xmdkapplet-restricted-helper2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index d034e1f4..7ae481d0 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -121,6 +121,8 @@ sub add_restricted_medium {
} else {
my $arch = urpm::cfg::get_arch();
actually_add_restricted_medium($ref, $password, $arch);
+ # FIXME: is not enough if we ever support sparc64, ppc64 and the like:
+ actually_add_restricted_medium($ref, $password, 'i586') if $arch eq 'x86_64';
}
}