summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-29 09:45:09 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-29 09:45:09 +0000
commit50f71ca0f86755e34d89e2685f1dad815426f0fb (patch)
treef29f1cf6bd84f17319fcb0c2aaa930fba111280c /perl-install
parentab593952bb22eceae1761e9c57e987a0e72700a2 (diff)
downloaddrakx-50f71ca0f86755e34d89e2685f1dad815426f0fb.tar
drakx-50f71ca0f86755e34d89e2685f1dad815426f0fb.tar.gz
drakx-50f71ca0f86755e34d89e2685f1dad815426f0fb.tar.bz2
drakx-50f71ca0f86755e34d89e2685f1dad815426f0fb.tar.xz
drakx-50f71ca0f86755e34d89e2685f1dad815426f0fb.zip
commiting uncommitted fixes about kernel-i686 needed prefered in choices.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 8037c9fa2..9c4afeedd 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -225,7 +225,10 @@ sub packageCallbackChoices {
} else {
my @l = grep {
#- or if a kernel has to be chosen, chose the basic one.
- $_->arch ne 'src' && $_->name =~ /kernel-\d/ and return $_;
+ if ($_->arch ne 'src') {
+ $_->name =~ /kernel-\d/ and return $_;
+ $_->name =~ /kernel-i686/ and return $_;
+ }
#- or even if a package requires a specific locales which
#- is already selected.