summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/remove-unused-hardware-packages
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/remove-unused-hardware-packages')
-rw-r--r--perl-install/standalone/remove-unused-hardware-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/remove-unused-hardware-packages b/perl-install/standalone/remove-unused-hardware-packages
index c1fdf0747..517f47410 100644
--- a/perl-install/standalone/remove-unused-hardware-packages
+++ b/perl-install/standalone/remove-unused-hardware-packages
@@ -15,8 +15,8 @@ my $wait = $in->wait_message(N("Hardware packages removal"),
my $do_pkgs = do_pkgs->do_pkgs($in);
-my @all_hardware_packages = (pkgs::detect_hardware_packages($do_pkgs, 'match_all_hardware'));
-my @used_hardware_packages = (pkgs::detect_hardware_packages($do_pkgs));
+my @all_hardware_packages = pkgs::detect_hardware_packages($do_pkgs, 'match_all_hardware');
+my @used_hardware_packages = pkgs::detect_hardware_packages($do_pkgs);
my @unneeded_hardware_packages = difference2(\@all_hardware_packages, \@used_hardware_packages);
my @unused_hardware_packages = $do_pkgs->are_installed(@unneeded_hardware_packages);