From 94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Feb 2004 17:15:41 +0000 Subject: fix empty list in "multiple internet_connexions" step --- perl-install/network/netconnect.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index ebc767a25..67c919188 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1020,8 +1020,10 @@ You may also enter the IP address of the gateway if you have one."), multiple_internet_cnx => { name => N("You have configured multiple ways to connect to the Internet.\nChoose the one you want to use.\n\n") . if_(!$::isStandalone, "You may want to configure some profiles after the installation, in the Mandrake Control Center"), - data => [ { label => N("Internet connection"), val => \$netc->{internet_cnx_choice}, - list => [ keys %{$netc->{internet_cnx}} ] } ], + data => sub { + [ { label => N("Internet connection"), val => \$netc->{internet_cnx_choice}, + list => [ keys %{$netc->{internet_cnx}} ] } ]; + }, post => sub { $::isInstall ? "network_on_boot" : "apply_settings" }, }, -- cgit v1.2.1