summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-09 06:40:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-09 06:40:52 +0000
commit341632802a32dbc7924a82035ae34a1b73e58b37 (patch)
treee13c95346b56a12ae770a9b5fd0b6f4d7a479fc0 /perl-install
parent796e7b64f5e353d0e75da23ed61e616c30d0ebca (diff)
downloaddrakx-341632802a32dbc7924a82035ae34a1b73e58b37.tar
drakx-341632802a32dbc7924a82035ae34a1b73e58b37.tar.gz
drakx-341632802a32dbc7924a82035ae34a1b73e58b37.tar.bz2
drakx-341632802a32dbc7924a82035ae34a1b73e58b37.tar.xz
drakx-341632802a32dbc7924a82035ae34a1b73e58b37.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 6ff7596c5..b586ea3ed 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -810,7 +810,8 @@ sub setupBootloaderBefore {
if (my ($acpi) = cat_("/proc/cmdline") =~ /\bacpi=(\w+)/) {
if ($acpi eq 'ht') {
#- the user is using the default, which may not be the best
- if (detect_devices::computer_info()->{BIOS_Year} >= 2002) {
+ my $year = detect_devices::computer_info()->{BIOS_Year};
+ if ($year >= 2002) {
log::l("forcing ACPI on recent bios ($year)");
$acpi = '';
}