diff options
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -699,7 +699,8 @@ sub is_restricted_media_configured { my @names = map { $_->{name} } @restricted_media; # we need both 'Restricted' & 'Restricted Updates' media # those who did online update trough mdkapplet do not have restricted medium, hence the test for 2 medium: - @restricted_media >= 2 && (grep { /Restricted Updates/ } @names) && (grep { /Restricted/ && !/Updates/ } @names); + @restricted_media >= (urpm::cfg::get_arch() =~ /64/ ? 4 : 2) + && (grep { /Restricted Updates/ } @names) && (grep { /Restricted/ && !/Updates/ } @names); } sub really_prepare_add_restricted() { |