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/network/nfs.pm | |
parent | 16c8467a9f303721a889bf4248ae02ad178fa471 (diff) | |
download | drakx-db02946e5f58e282d5056a57d50208022f2fc796.tar drakx-db02946e5f58e282d5056a57d50208022f2fc796.tar.gz drakx-db02946e5f58e282d5056a57d50208022f2fc796.tar.bz2 drakx-db02946e5f58e282d5056a57d50208022f2fc796.tar.xz drakx-db02946e5f58e282d5056a57d50208022f2fc796.zip |
introduce ->ensure_binary_is_installed and use it
Diffstat (limited to 'perl-install/network/nfs.pm')
-rw-r--r-- | perl-install/network/nfs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm index 39faa716e..37dd954e5 100644 --- a/perl-install/network/nfs.pm +++ b/perl-install/network/nfs.pm @@ -29,7 +29,7 @@ sub to_dev_raw { sub check { my ($_class, $in) = @_; - $in->do_pkgs->ensure_is_installed('nfs-utils-clients', '/usr/sbin/showmount') or return; + $in->do_pkgs->ensure_binary_is_installed('nfs-utils-clients', 'showmount') or return; system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0; 1; } |