summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-02-24 15:20:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-02-24 15:20:38 +0000
commit658246c020301b05fa21ec3786506178ade579f8 (patch)
tree52d4f91b92d4425766d07084cb7e0f4d5b859d2b /perl-install/fs/format.pm
parent288a084724dca3ca04ecec559e4d6de9322f30c4 (diff)
downloaddrakx-658246c020301b05fa21ec3786506178ade579f8.tar
drakx-658246c020301b05fa21ec3786506178ade579f8.tar.gz
drakx-658246c020301b05fa21ec3786506178ade579f8.tar.bz2
drakx-658246c020301b05fa21ec3786506178ade579f8.tar.xz
drakx-658246c020301b05fa21ec3786506178ade579f8.zip
ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (pb for Mandriva One)
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index ae9750df1..f342be09f 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -49,7 +49,7 @@ sub check_package_is_installed {
my ($do_pkgs, $fs_type) = @_;
my ($pkg, $binary) = @{$cmds{$fs_type} || return};
- $do_pkgs->ensure_binary_is_installed($pkg, $binary);
+ whereis_binary($binary) || $do_pkgs->ensure_binary_is_installed($pkg, $binary); #- ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (pb for Mandriva One)
}
sub part {