From fa027e3a197012e6e339ad778c695574fa02bbc8 Mon Sep 17 00:00:00 2001 From: Nicolas Planel Date: Wed, 27 Aug 2003 17:06:41 +0000 Subject: fixup last hack --- perl-install/install_steps.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install') 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)); + } } #------------------------------------------------------------------------------ -- cgit v1.2.1