summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/raid.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 0308dd013..fee8fc284 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o fix check for mdadm in live install (#43785)
+
Version 11.41 - 11 September 2008
- fix default spacing between GUI elements
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 {