diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-24 15:50:54 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-24 15:50:54 +0000 |
commit | c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f (patch) | |
tree | 3cfcac7dfbc0009ca3b2e7f322873bff82f71a8e | |
parent | 761708674ab3c7e2ca369804f9f2a84fbfee1d22 (diff) | |
download | drakx-c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f.tar drakx-c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f.tar.gz drakx-c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f.tar.bz2 drakx-c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f.tar.xz drakx-c80f2ca57d31f86dcc7a4b451a3c9fd41a79e97f.zip |
ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (backport from HEAD)
-rw-r--r-- | perl-install/fs/format.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index a92db89f7..0292a9104 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 { |