summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-15 08:04:25 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-15 08:04:25 +0000
commit3cfae94281e8223720012bbfd00d1a8685b48104 (patch)
tree7caa4fb1a0aeb0f7e2460f1bdaf7eab9911dd58c /perl-install/raid.pm
parentf468cd080bccfb5383b07d69fcc834d7c14c9e39 (diff)
downloaddrakx-3cfae94281e8223720012bbfd00d1a8685b48104.tar
drakx-3cfae94281e8223720012bbfd00d1a8685b48104.tar.gz
drakx-3cfae94281e8223720012bbfd00d1a8685b48104.tar.bz2
drakx-3cfae94281e8223720012bbfd00d1a8685b48104.tar.xz
drakx-3cfae94281e8223720012bbfd00d1a8685b48104.zip
fix check for mdadm in live install (#43785)
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 220d4d1ce..26da102b7 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -17,7 +17,7 @@ sub max_nb() { 31 }
sub check_prog {
my ($in) = @_;
- $::isInstall || $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm');
+ whereis_binary('mdadm') || $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm');
}
sub new {