summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9a95e2648..f67eb5ce7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -660,7 +660,7 @@ sub summaryAfter {
require bootloader;
my $acpi = bootloader::get_append($o->{bootloader}, 'acpi');
- if ($acpi ne 'off' && $acpi ne 'ht' && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")) {
+ if (!member($acpi, 'off', 'ht') && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")) {
$o->do_pkgs->install(qw(acpi acpid));
}
}