From 99f1fca0089e24cc05393119fc406d210e932205 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 6 Mar 2003 13:55:42 +0000 Subject: modified logic for summaryAfter. --- perl-install/install_steps.pm | 4 ++-- 1 file 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)); } #------------------------------------------------------------------------------ -- cgit v1.2.1