summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-31 07:40:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-31 07:40:10 +0000
commit771fb6f8e579c420131ad3cd06a3123d7d2a0dbd (patch)
tree36e7a34722a22b2371e0e5ade9ad735b25fab79c /perl-install/install
parent26a9835e07dea5dd31d130bd19ac9658ac1bcdc7 (diff)
downloaddrakx-771fb6f8e579c420131ad3cd06a3123d7d2a0dbd.tar
drakx-771fb6f8e579c420131ad3cd06a3123d7d2a0dbd.tar.gz
drakx-771fb6f8e579c420131ad3cd06a3123d7d2a0dbd.tar.bz2
drakx-771fb6f8e579c420131ad3cd06a3123d7d2a0dbd.tar.xz
drakx-771fb6f8e579c420131ad3cd06a3123d7d2a0dbd.zip
kernel-latest is no more
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 262fb790a..2dae3478a 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -145,7 +145,7 @@ sub bestKernelPackage {
detect_devices::dmi_detect_memory() > 3.8 * 1024 ? '-server' :
'-desktop';
- my @kernels = grep { $_ } map { packageByName($packages, "kernel$_-latest") } @preferred_exts, '';
+ my @kernels = grep { $_ } map { packageByName($packages, "kernel$_-latest") } @preferred_exts;
log::l("bestKernelPackage (" . join(':', @preferred_exts) . "): " . join(' ', map { $_->name } @kernels) . (@kernels > 1 ? ' (choosing the first)' : ''));