summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-27 12:08:37 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-27 12:08:37 +0000
commit0722e227ec69c28baccc5614edb3d37033bd8d24 (patch)
treeb4d6e81f407cd0700308a34430f98aa66988adac
parentfcbfe014f7a81709bb3a107647b1eea0a492189c (diff)
downloaddrakx-backup-do-not-use-0722e227ec69c28baccc5614edb3d37033bd8d24.tar
drakx-backup-do-not-use-0722e227ec69c28baccc5614edb3d37033bd8d24.tar.gz
drakx-backup-do-not-use-0722e227ec69c28baccc5614edb3d37033bd8d24.tar.bz2
drakx-backup-do-not-use-0722e227ec69c28baccc5614edb3d37033bd8d24.tar.xz
drakx-backup-do-not-use-0722e227ec69c28baccc5614edb3d37033bd8d24.zip
simplify
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index e68158c51..eb7b86e06 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -116,7 +116,7 @@ sub install_acpi_pkgs {
my $acpi = bootloader::get_append_with_key($b, 'acpi');
my $use_acpi = !member($acpi, 'off', 'ht');
if ($use_acpi) {
- $do_pkgs->ensure_files_are_installed([ [ 'acpi', '/usr/bin/acpi' ], [ 'acpid', '/usr/sbin/acpid' ] ], $::isInstall);
+ $do_pkgs->ensure_files_are_installed([ [ qw(acpi /usr/bin/acpi) ], [ qw(acpid /usr/sbin/acpid) ] ], $::isInstall);
}
require services;
services::set_status($_, $use_acpi, $::isInstall) foreach qw(acpi acpid);