diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-12-05 23:05:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-12-05 23:05:22 +0000 |
commit | 3f77ab51647be995ed6588752f6239ca3e7640b5 (patch) | |
tree | 08b01869e89ed91d3ec624e706ef16b24f9bddea | |
parent | 2c0680fa67635b0e35f03b96dacec0c2e085cae7 (diff) | |
download | drakx-backup-do-not-use-3f77ab51647be995ed6588752f6239ca3e7640b5.tar drakx-backup-do-not-use-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.gz drakx-backup-do-not-use-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.bz2 drakx-backup-do-not-use-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.xz drakx-backup-do-not-use-3f77ab51647be995ed6588752f6239ca3e7640b5.zip |
(selectPackage): hard coded preference to simple kernel
-rw-r--r-- | perl-install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 690ddeb18..752d358fe 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -243,6 +243,7 @@ sub selectPackage { #($$;$$$) my $dep = packageById($packages, $_) or next; $preferred ||= $dep; packageFlagSelected($dep) and $preferred = $dep, last; + packageName($dep) =~ /kernel-\d/ and $preferred = $dep; #- hard coded preference to simple kernel exists $preferred{packageName($dep)} and $preferred = $dep; } $preferred or die "unable to find a package for choice"; |