summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-02 06:52:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-02 06:52:22 +0000
commitdb02946e5f58e282d5056a57d50208022f2fc796 (patch)
tree7755a8abb9c238d4e6405c546c516a7e2458114c /perl-install/any.pm
parent16c8467a9f303721a889bf4248ae02ad178fa471 (diff)
downloaddrakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.gz
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.bz2
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.xz
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.zip
introduce ->ensure_binary_is_installed and use it
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 33b90956e..c0c25ed13 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -249,7 +249,7 @@ sub setupBootloader__general {
delete $b->{bios} if $b->{boot} ne $prev_boot;
if ($b->{method} eq 'grub') {
- $in->do_pkgs->ensure_is_installed('grub', "/usr/sbin/grub", 1) or return 0;
+ $in->do_pkgs->ensure_binary_is_installed('grub', "grub", 1) or return 0;
}
bootloader::set_profiles($b, $profiles);