summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-16 10:24:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-16 10:24:15 +0000
commita906379e29ab5065c1da4f67b547986a9261441d (patch)
tree0efae09be7863d6691124448f4af0595a9dd57ab /perl-install/pkgs.pm
parentbb6124bf14a8cce3047dd3cdd63e0f0e5402cc84 (diff)
downloaddrakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar
drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.gz
drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.bz2
drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.xz
drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.zip
add in %pkgs::preferred the kernel-source corresponding to the preferred kernel
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index b61755b8c..bcc440e65 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -196,6 +196,7 @@ sub bestKernelPackage {
}
log::l("bestKernelPackage: " . join(' ', map { $_->{pkg}->name } @kernels) . (@kernels > 1 ? ' (choosing the first)' : ''));
+ $preferred{'kernel-source-' . $kernels[0]{version}} = undef;
$kernels[0]{pkg};
}