diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 17:15:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 17:15:41 +0000 |
commit | 94d7222ca6efe744f347a9a0d06e8b5d2ae3d7f0 (patch) | |
tree | dcc8778d31b248b251dcb520fb4f1a228fe55c1a /perl-install/network/netconnect.pm | |
parent | 3559e55fb63f76c571930cfeb748b53825dbda00 (diff) | |
download | drakx-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.pm | 6 |
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" }, }, |