From a8f2c197b20949d776883babaefbf7b6dce412c8 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 6 Mar 2003 13:53:28 +0000 Subject: summaryAfter created to install acpi and acpid if needed. --- perl-install/install_steps.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index c78e2c875..a8678dff3 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -694,6 +694,14 @@ sub summary { configurePrinter($o) if $o->{printer}; } +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 + $in->do_pkgs->install(qw(acpi acpid)); +} + #------------------------------------------------------------------------------ sub configureTimezone { my ($o) = @_; -- cgit v1.2.1