summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-07-01 06:58:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-07-01 06:58:54 +0000
commitb702e1e4814dd994c2094d72b5acbdf5e2b4d796 (patch)
treec3dfbc5234d50be2891da089b064af60dcc00012 /perl-install/install_any.pm
parent9b09d50a55f78200038d8a10d7c626238056bd90 (diff)
downloaddrakx-b702e1e4814dd994c2094d72b5acbdf5e2b4d796.tar
drakx-b702e1e4814dd994c2094d72b5acbdf5e2b4d796.tar.gz
drakx-b702e1e4814dd994c2094d72b5acbdf5e2b4d796.tar.bz2
drakx-b702e1e4814dd994c2094d72b5acbdf5e2b4d796.tar.xz
drakx-b702e1e4814dd994c2094d72b5acbdf5e2b4d796.zip
use fs::type::is_dmraid()
Diffstat (limited to 'perl-install/install_any.pm')
-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 31163a31d..ab8091db5 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -849,7 +849,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 { fs::type::is_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');