summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index d034d729f..ef38351f8 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -698,8 +698,8 @@ sub summaryAfter {
my ($o) = @_;
require bootloader;
- bootloader::get_append($o->{bootloader}, 'acpi') ne 'off' && (-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid") and
- $o->do_pkgs->pkg_install(qw(acpi acpid));
+ bootloader::get_append($o->{bootloader}, 'acpi') ne 'off' && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")
+ and $o->do_pkgs->pkg_install(qw(acpi acpid));
}
#------------------------------------------------------------------------------