diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-27 09:57:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-27 09:57:58 +0000 |
commit | 3bcb794b5295f765ee5fb74c98fd69f594a586b1 (patch) | |
tree | 12e1319641bf9104d580036c128ba67e431300bc /lib/network/drakfirewall.pm | |
parent | cf92bdc80e6b3a180d966def0f9ca38cf35a045a (diff) | |
download | drakx-net-3bcb794b5295f765ee5fb74c98fd69f594a586b1.tar drakx-net-3bcb794b5295f765ee5fb74c98fd69f594a586b1.tar.gz drakx-net-3bcb794b5295f765ee5fb74c98fd69f594a586b1.tar.bz2 drakx-net-3bcb794b5295f765ee5fb74c98fd69f594a586b1.tar.xz drakx-net-3bcb794b5295f765ee5fb74c98fd69f594a586b1.zip |
install shorewall-ipv6 too (mga#9401)
Diffstat (limited to 'lib/network/drakfirewall.pm')
-rw-r--r-- | lib/network/drakfirewall.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm index ff87724..e679415 100644 --- a/lib/network/drakfirewall.pm +++ b/lib/network/drakfirewall.pm @@ -195,7 +195,7 @@ sub set_ports { my ($do_pkgs, $disabled, $ports, $log_net_drop, $o_in) = @_; if (!$disabled || -x "$::prefix/sbin/shorewall") { - $do_pkgs->ensure_binary_is_installed('shorewall', 'shorewall', $::isInstall) or return; + $do_pkgs->ensure_files_are_installed([ [ qw(shorewall shorewall) ], [ qw(shorewall-ipv6 shorewall6) ] ], $::isInstall) or return; my $shorewall = network::shorewall::read(!$disabled && $o_in); if (!$shorewall) { log::l("unable to read shorewall configuration, skipping installation"); |