summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-12-23 15:40:18 +0000
committerDaouda Lo <daouda@mandriva.com>2004-12-23 15:40:18 +0000
commitbada554b3357ac90e7c18d82e656826732bdbcd0 (patch)
tree3499118bb054de00ff1f5f3e0b8b43f110faa956 /mdkonline
parentd0f562cb4cbd7afcb26620fc1d48860b00dde119 (diff)
downloadmgaonline-bada554b3357ac90e7c18d82e656826732bdbcd0.tar
mgaonline-bada554b3357ac90e7c18d82e656826732bdbcd0.tar.gz
mgaonline-bada554b3357ac90e7c18d82e656826732bdbcd0.tar.bz2
mgaonline-bada554b3357ac90e7c18d82e656826732bdbcd0.tar.xz
mgaonline-bada554b3357ac90e7c18d82e656826732bdbcd0.zip
merge changes in current cvs branch
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline12
1 files changed, 8 insertions, 4 deletions
diff --git a/mdkonline b/mdkonline
index f24ef0e6..cbcec800 100755
--- a/mdkonline
+++ b/mdkonline
@@ -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 => {