summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-15 09:52:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-15 09:52:31 +0000
commitba086461744abbdc61420eeaaf0fd9ca0b76c42c (patch)
tree7a35497460930ac45090742de7f5fbdf95257f20
parent3cfae94281e8223720012bbfd00d1a8685b48104 (diff)
downloaddrakx-ba086461744abbdc61420eeaaf0fd9ca0b76c42c.tar
drakx-ba086461744abbdc61420eeaaf0fd9ca0b76c42c.tar.gz
drakx-ba086461744abbdc61420eeaaf0fd9ca0b76c42c.tar.bz2
drakx-ba086461744abbdc61420eeaaf0fd9ca0b76c42c.tar.xz
drakx-ba086461744abbdc61420eeaaf0fd9ca0b76c42c.zip
make things more clear
-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 26da102b7..df59fb02e 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -17,7 +17,7 @@ sub max_nb() { 31 }
sub check_prog {
my ($in) = @_;
- whereis_binary('mdadm') || $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm');
+ $::prefix ? whereis_binary('mdadm') : $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm');
}
sub new {