summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-03 05:57:07 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-03 05:57:07 +0000
commit78687f1498eb4860228ccf5f07efffaea2e76191 (patch)
tree0b12593e5caf819c6ac3f7b04c39c1f3204c09e2 /perl-install
parent95cb771adad58d2b8dea859b82a65c40375e13db (diff)
downloaddrakx-backup-do-not-use-78687f1498eb4860228ccf5f07efffaea2e76191.tar
drakx-backup-do-not-use-78687f1498eb4860228ccf5f07efffaea2e76191.tar.gz
drakx-backup-do-not-use-78687f1498eb4860228ccf5f07efffaea2e76191.tar.bz2
drakx-backup-do-not-use-78687f1498eb4860228ccf5f07efffaea2e76191.tar.xz
drakx-backup-do-not-use-78687f1498eb4860228ccf5f07efffaea2e76191.zip
Typo fix
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 63fd0d74d..39cdb3955 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -198,19 +198,19 @@ sub bestKernelPackage {
#- favour versions corresponding to current BOOT version
@kernels = @l;
}
- my @prefered_exts =
+ my @preferred_exts =
is_xbox() ? '-xbox' :
detect_devices::is_i586() ? '-i586-up-1GB' :
!detect_devices::has_cpu_flag('pae') ? ('-i686-up-4GB', '-i586-up-1GB') :
- detect_devices::hasSMP() ? '-smp' :
+ detect_devices::hasSMP() ? '-smp' :
'';
- foreach my $prefered_ext (@prefered_exts, '') {
+ foreach my $prefered_ext (@preferred_exts, '') {
if (my @l = grep { $_->{ext} eq $prefered_ext } @kernels) {
@kernels = @l;
}
}
-
- log::l("bestKernelPackage (" . join(':', @prefered_exts) . "): " . join(' ', map { $_->{pkg}->name } @kernels) . (@kernels > 1 ? ' (choosing the first)' : ''));
+
+ log::l("bestKernelPackage (" . join(':', @preferred_exts) . "): " . join(' ', map { $_->{pkg}->name } @kernels) . (@kernels > 1 ? ' (choosing the first)' : ''));
$preferred{'kernel-source-' . $kernels[0]{version}} = undef;
$kernels[0]{pkg};
}