summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 08:25:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 08:25:33 +0000
commitcf098756533ce789f72a6e2239ece1c262a9ee0f (patch)
treed2f81583fee8ce91e123ff72b5c2588b5396b89e /perl-install/network
parenta37a08955766ea2a2e26e9ec3e14b922fc4b2fb5 (diff)
downloaddrakx-cf098756533ce789f72a6e2239ece1c262a9ee0f.tar
drakx-cf098756533ce789f72a6e2239ece1c262a9ee0f.tar.gz
drakx-cf098756533ce789f72a6e2239ece1c262a9ee0f.tar.bz2
drakx-cf098756533ce789f72a6e2239ece1c262a9ee0f.tar.xz
drakx-cf098756533ce789f72a6e2239ece1c262a9ee0f.zip
misc perl_checker cleanups
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/modem.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 9b970e4d6..2fd484cc3 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -49,7 +49,7 @@ sub ppp_configure {
my ($in, $modem) = @_;
$modem or return;
$in->do_pkgs->install('ppp') if !$::testing;
- $in->do_pkgs->install('kdenetwork-kppp') if !$::testing &&$in->do_pkgs->is_installed('kdebase');
+ $in->do_pkgs->install('kdenetwork-kppp') if !$::testing && $in->do_pkgs->is_installed('kdebase');
any::devfssymlinkf($modem, 'modem') if $modem->{device} ne "/dev/modem";
@@ -70,9 +70,9 @@ sub ppp_configure {
# handle static/dynamic settings:
if ($modem->{auto_ip} eq N("Automatic")) {
- $toreplace{$_} = '0.0.0.0' foreach qw(IPAddr SubnetMask) ;
+ $toreplace{$_} = '0.0.0.0' foreach qw(IPAddr SubnetMask);
} else {
- $toreplace{$_} = $modem->{$_} foreach qw(IPAddr SubnetMask) ;
+ $toreplace{$_} = $modem->{$_} foreach qw(IPAddr SubnetMask);
}
$toreplace{Gateway} = $modem->{auto_gateway} eq N("Automatic") ? '0.0.0.0' : $modem->{Gateway};