From 658246c020301b05fa21ec3786506178ade579f8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 24 Feb 2006 15:20:38 +0000 Subject: ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (pb for Mandriva One) --- perl-install/fs/format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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 { -- cgit v1.2.1