summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-03 13:02:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-03 13:02:26 +0000
commit1349b36abda31902be8e5a512aa718b15d1ee472 (patch)
treeeb63927d244b1940f55cf18771af45572f96fe04 /perl-install
parent2ca26a801c41e31b96d770feece51c2b9ab9aa35 (diff)
downloaddrakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar
drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.gz
drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.bz2
drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.xz
drakx-1349b36abda31902be8e5a512aa718b15d1ee472.zip
use member
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 9a95e2648..f67eb5ce7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -660,7 +660,7 @@ sub summaryAfter {
require bootloader;
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")) {
+ if (!member($acpi, 'off', 'ht') && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")) {
$o->do_pkgs->install(qw(acpi acpid));
}
}