diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-03 13:02:26 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-03 13:02:26 +0000 |
commit | 1349b36abda31902be8e5a512aa718b15d1ee472 (patch) | |
tree | eb63927d244b1940f55cf18771af45572f96fe04 | |
parent | 2ca26a801c41e31b96d770feece51c2b9ab9aa35 (diff) | |
download | drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.gz drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.bz2 drakx-1349b36abda31902be8e5a512aa718b15d1ee472.tar.xz drakx-1349b36abda31902be8e5a512aa718b15d1ee472.zip |
use member
-rw-r--r-- | perl-install/install_steps.pm | 2 |
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)); } } |