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/drakfirewall.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/network/drakfirewall.pm')
-rw-r--r-- | perl-install/network/drakfirewall.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/drakfirewall.pm b/perl-install/network/drakfirewall.pm index 5ade3db27..6fe4a629c 100644 --- a/perl-install/network/drakfirewall.pm +++ b/perl-install/network/drakfirewall.pm @@ -130,7 +130,7 @@ sub set_ports { my ($in, $disabled, $ports) = @_; my $shorewall = network::shorewall::read($in, 'not_silent') || network::shorewall::default_interfaces($in) or die N("No network card"); if (!$disabled || -x "$::prefix/sbin/shorewall") { - $in->do_pkgs->ensure_is_installed('shorewall', '/sbin/shorewall', $::isInstall) or return; + $in->do_pkgs->ensure_binary_is_installed('shorewall', 'shorewall', $::isInstall) or return; $shorewall->{disabled} = $disabled; $shorewall->{ports} = $$ports; |