From 789a8842a51eba5a5f2c965ca39bccf2c1c402aa Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 1 Dec 2003 09:52:57 +0000 Subject: (configure) do not install packages in testing mode --- perl-install/network/adsl.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'perl-install/network/adsl.pm') diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 5cf1423b8..ff4939583 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -33,30 +33,30 @@ If you don't know, choose 'use pppoe'"), ) or return; $type = find { $l{$_} eq $type } keys %l; if ($type eq 'pppoe') { - $in->do_pkgs->install("rp-$type"); + $in->do_pkgs->install("rp-$type") if !$::testing; $netcnx->{type} = "adsl_$type"; adsl_conf($netcnx->{"adsl_$type"}, $netc, $intf, $type) or goto conf_adsl_step1; } if ($type eq 'dhcp') { - $in->do_pkgs->install(qw(dhcpcd)); + $in->do_pkgs->install(qw(dhcpcd)) if !$::testing; go_ethernet($netc, $intf, 'dhcp', '', '', $first_time) or goto conf_adsl_step1; } if ($type eq 'pptp') { - $in->do_pkgs->install(qw(pptp-adsl)); + $in->do_pkgs->install(qw(pptp-adsl)) if !$::testing; $netcnx->{type} = "adsl_$type"; $netcnx->{"adsl_$type"} = {}; adsl_conf($netcnx->{"adsl_$type"}, $netc, $intf, $type) or goto conf_adsl_step1; } if ($type =~ /Sagem/) { $type = 'sagem' . ($type =~ /dhcp/ ? "_dhcp" : ""); - $in->do_pkgs->install(qw(adiusbadsl), if_($type =~ /dhcp/, qw(dhcpcd))); + $in->do_pkgs->install(qw(adiusbadsl), if_($type =~ /dhcp/, qw(dhcpcd))) if !$::testing; $netcnx->{type} = "adsl_$type"; $netcnx->{"adsl_$type"} = {}; adsl_conf($netcnx->{"adsl_$type"}, $netc, $intf, $type) or goto conf_adsl_step1; } if ($type =~ /speedtouch/) { $type = 'speedtouch'; - $in->do_pkgs->install(qw(speedtouch)); + $in->do_pkgs->install(qw(speedtouch)) if !$::testing; $netcnx->{type} = "adsl_$type"; $netcnx->{"adsl_$type"} = {}; $netcnx->{"adsl_$type"}{vpivci} = ''; @@ -64,7 +64,7 @@ If you don't know, choose 'use pppoe'"), } # if ($type =~ /ECI/) { # $type = 'eci'; -# $in->do_pkgs->install(qw(eciadsl)); +# $in->do_pkgs->install(qw(eciadsl)) if !$::testing; # $netcnx->{type} = "adsl_$type"; # $netcnx->{"adsl_$type"} = {}; # $netcnx->{"adsl_$type"}{vpivci} = ''; -- cgit v1.2.1