diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-15 09:52:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-15 09:52:31 +0000 |
commit | ba086461744abbdc61420eeaaf0fd9ca0b76c42c (patch) | |
tree | 7a35497460930ac45090742de7f5fbdf95257f20 | |
parent | 3cfae94281e8223720012bbfd00d1a8685b48104 (diff) | |
download | drakx-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.pm | 2 |
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 { |