summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
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
commitd06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc (patch)
treeb4d6e81f407cd0700308a34430f98aa66988adac /perl-install/any.pm
parentcebfafe9df36d73302e4d25c32b1e046059565a7 (diff)
downloaddrakx-d06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc.tar
drakx-d06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc.tar.gz
drakx-d06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc.tar.bz2
drakx-d06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc.tar.xz
drakx-d06a8b8e7b81a9ce505d9c03ec3c98d2250e18cc.zip
simplify
Diffstat (limited to 'perl-install/any.pm')
-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);