From 31558e6e9c5d12b1fc84b8c63ad2a8bfb2977816 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 21 Jan 2004 17:45:01 +0000 Subject: really use the same path in standalone and install mode --- perl-install/network/netconnect.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 3fca5d4e3..6715a2719 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -177,14 +177,7 @@ sub get_subwizard { $connections{$string} = $type; } %rconnections = reverse %connections; - if ($::isInstall) { - @connection_list = map { - my (undef, undef, $type) = @$_; - +{ text => $rconnections{$type}, val => \$conf{$type}, type => 'bool' } - } @connections; - } else { - @connection_list = ({ val => \$cnx_type, type => 'list', list => [ map { $_->[0] } @connections ], }); - } + @connection_list = ({ val => \$cnx_type, type => 'list', list => [ map { $_->[0] } @connections ], }); }, if_(!$::isInstall, no_back => 1), name => N("Choose the connection you want to configure"), -- cgit v1.2.1