diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 06:52:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 06:52:22 +0000 |
commit | db02946e5f58e282d5056a57d50208022f2fc796 (patch) | |
tree | 7755a8abb9c238d4e6405c546c516a7e2458114c /perl-install/lvm.pm | |
parent | 16c8467a9f303721a889bf4248ae02ad178fa471 (diff) | |
download | drakx-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/lvm.pm')
-rw-r--r-- | perl-install/lvm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index e63daa1ff..baf8e6f00 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -64,7 +64,7 @@ sub lvm_cmd_or_die { sub check { my ($in) = @_; - $in->do_pkgs->ensure_is_installed('lvm2', '/sbin/lvm2') or return; + $in->do_pkgs->ensure_binary_is_installed('lvm2', 'lvm2') or return; init(); 1; } |