summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-06 13:53:28 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-06 13:53:28 +0000
commita8f2c197b20949d776883babaefbf7b6dce412c8 (patch)
tree901b7a5e0e38ed4df72b9aaa9cae6dbbd03e01c5 /perl-install/install_steps.pm
parentb68669c3c492226743ca1e00ccd2c8cfdf67d567 (diff)
downloaddrakx-a8f2c197b20949d776883babaefbf7b6dce412c8.tar
drakx-a8f2c197b20949d776883babaefbf7b6dce412c8.tar.gz
drakx-a8f2c197b20949d776883babaefbf7b6dce412c8.tar.bz2
drakx-a8f2c197b20949d776883babaefbf7b6dce412c8.tar.xz
drakx-a8f2c197b20949d776883babaefbf7b6dce412c8.zip
summaryAfter created to install acpi and acpid if needed.
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm8
1 files changed, 8 insertions, 0 deletions
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) = @_;