summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 0bf784090..c111d117c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -846,7 +846,7 @@ sub default_packages {
push @l, "numlock" if $o->{miscellaneous}{numlock};
push @l, "mdadm" if !is_empty_array_ref($o->{all_hds}{raids});
push @l, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms});
- push @l, "dmraid" if any { $_->{bus} =~ /^dmraid_/ } $o->{all_hds}{hds};
+ push @l, "dmraid" if any { $_->{bus} =~ /^dmraid_/ } @{$o->{all_hds}{hds}};
push @l, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4;
push @l, detect_devices::probe_name('Pkg');