diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-12-23 14:30:32 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-12-23 14:30:32 +0000 |
commit | 7d114b668cc268368d6fc77ebee20b6deb20c01c (patch) | |
tree | 076d8d2f4d987d4d65ee65fa856d93f9b6442b74 | |
parent | 215db06a3f6261a1b8f666441962ad5a27250ea3 (diff) | |
download | mgaonline-7d114b668cc268368d6fc77ebee20b6deb20c01c.tar mgaonline-7d114b668cc268368d6fc77ebee20b6deb20c01c.tar.gz mgaonline-7d114b668cc268368d6fc77ebee20b6deb20c01c.tar.bz2 mgaonline-7d114b668cc268368d6fc77ebee20b6deb20c01c.tar.xz mgaonline-7d114b668cc268368d6fc77ebee20b6deb20c01c.zip |
- when upload fail, go to authenticate step to retry again
-rwxr-xr-x | mdkonline | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -188,10 +188,14 @@ $wiz = { } }, post => sub { - mdkonline::automated_upgrades($conffile, $login, md5_hex($password), $boxname, $key, $country, 'TRUE'); - mdkonline::write_wide_conf($login, $boxname, $country); - mdkonline::clean_confdir(); - "end" + if ($sendconfres eq 'TRUE' && $key) { + mdkonline::automated_upgrades($conffile, $login, md5_hex($password), $boxname, $key, $country, 'TRUE'); + mdkonline::write_wide_conf($login, $boxname, $country); + mdkonline::clean_confdir(); + "end" + } else { + "authenticate" + } }, }, end => { |