summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 323b8c3b3..123e620b6 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -859,7 +859,7 @@ 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
- my $year = detect_devices::dmidecode()->{BIOS_Year};
+ my $year = detect_devices::computer_info()->{BIOS_Year};
if (detect_devices::isLaptop() && $year >= 2002) {
log::l("forcing ACPI on a laptop with recent bios ($year)");
$acpi = 'on';