diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 16:29:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 16:29:53 +0000 |
commit | 0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7 (patch) | |
tree | ee147f1231f6c2202168b701e49ea302532388ab | |
parent | 3446860b59cf9d736838b4d69d433cc56d1e85b9 (diff) | |
download | mgaonline-0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7.tar mgaonline-0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7.tar.gz mgaonline-0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7.tar.bz2 mgaonline-0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7.tar.xz mgaonline-0b9d8fcd17624cc66a3df4920d9c9e33a160d8a7.zip |
check (and explain) when we failed to register the host config for a
bundle (eg because of a unsupported distro)
-rwxr-xr-x | mdkupdate | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -193,6 +193,11 @@ if (!$bundle) { $wc->{USER_EMAIL} or die("Configuration not uploaded to Mandriva Online"); my $res = mdkonline::prepare_upload_conf($wc); + if ($res ne 'OK') { + log::explanations("we failed to be accepted by the server: $bundle_info->{message}"); + $in->ask_warn(N("Error"), N("An error occurred") . "\n\n" . $res); + } + if ($bundle_vars{CLIENT_VERSION} > $CLIENT_VERSION) { log::explanations("the client is too old in order to install the bundle $bundle_vars{BUNDLE}"); $in->ask_warn(N("Warning"), N("The version of the Mandriva Online client is too old. |