From 2fd081474dd4fa60d5d536c07b5d19131f265f7a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 Feb 2007 14:43:26 +0000 Subject: ask confirmation for country earlier so that it does be sent to mdvonline server --- mdkonline | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mdkonline b/mdkonline index 6a2a1e1a..5b631b93 100755 --- a/mdkonline +++ b/mdkonline @@ -140,6 +140,7 @@ my $wiz = data => sub { [ { label => N("Email address:"), val => \$login }, + { label => N("Country"), val => \$country, type => "combo", list => [ sort keys %countries ], not_edit => 0 } { label => N("Password:"), val => \$password, hidden => 1 }, { label => N("Machine name:"), val => \$boxname }, { label => N("Machine description:"), val => \$descboxname }, @@ -226,11 +227,6 @@ my $wiz = }, upload => { name => formatAlaTeX(N("Your upload was successful!") . "\n\n" . N("From now you will receive on security and updates \nannouncements thanks to Mandriva Online.") . "\n\n" . N("Mandriva Online offers you the ability to automate the updates.\nA program will run regulary in your system waiting for new updates\n")), - data => sub { - [ - { label => N("Country"), val => \$country, type => "combo", list => [ sort keys %countries ], not_edit => 0 } - ]; - }, post => sub { mdkonline::automated_upgrades(); #mdkonline::clean_confdir(); -- cgit v1.2.1