summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-09 17:15:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-09 17:15:41 +0000
commit94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0 (patch)
treedcc8778d31b248b251dcb520fb4f1a228fe55c1a /perl-install/network/netconnect.pm
parent3559e55fb63f76c571930cfeb748b53825dbda00 (diff)
downloaddrakx-94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0.tar
drakx-94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0.tar.gz
drakx-94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0.tar.bz2
drakx-94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0.tar.xz
drakx-94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0.zip
fix empty list in "multiple internet_connexions" step
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 4 insertions, 2 deletions
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" },
},