diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-04 13:09:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-04 13:09:01 +0000 |
commit | 010c61607dae1edbf4d5843d8c957d554106f7c0 (patch) | |
tree | 358cad0c888731bb2a27cc893e4ce8222635d844 /mdkupdate | |
parent | d18748d13ba0e0c880e21297b033428a9e304aaf (diff) | |
download | mgaonline-010c61607dae1edbf4d5843d8c957d554106f7c0.tar mgaonline-010c61607dae1edbf4d5843d8c957d554106f7c0.tar.gz mgaonline-010c61607dae1edbf4d5843d8c957d554106f7c0.tar.bz2 mgaonline-010c61607dae1edbf4d5843d8c957d554106f7c0.tar.xz mgaonline-010c61607dae1edbf4d5843d8c957d554106f7c0.zip |
we've no previous config so add missing fields to server's answer
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,8 @@ if (!$bundle) { $in->ask_warn(N("Error"), N("Failed to authenticate to the bundle server:\n\n%s", $reg_host->{message})); exit(3); } + # we've no previous config so add missing fields to server's answer: + $reg_host->{data}{user_email} ||= $bundle_vars{USER}; mdkonline::write_wide_conf($reg_host); } |