diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 905eaa1b2..add08b0c5 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -729,8 +729,10 @@ sub summaryAfter { my ($o) = @_; require bootloader; - bootloader::get_append($o->{bootloader}, 'acpi') ne 'off' && ne 'ht' && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid") - and $o->do_pkgs->install(qw(acpi acpid)); + 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")) { + $o->do_pkgs->install(qw(acpi acpid)); + } } #------------------------------------------------------------------------------ |