From 2890ee9dcb7cc758bdd7f08e9542b680f37e52f0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 27 Oct 2004 10:07:56 +0000 Subject: since we need mdadm, ensure we have it (bugzilla #12146) --- perl-install/raid.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/raid.pm') diff --git a/perl-install/raid.pm b/perl-install/raid.pm index acbee3607..1570712db 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -15,6 +15,11 @@ use fs; sub max_nb() { 31 } +sub check_prog { + my ($in) = @_; + $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm') or return; +} + sub new { my ($raids, %opts) = @_; my $md_part = { %opts }; -- cgit v1.2.1