diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 17:26:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 17:26:08 +0000 |
commit | 94972dd627f9aed7a76e9722f58361dd803c4300 (patch) | |
tree | c239f354d121237305583c32b1ba0b4834619e34 | |
parent | 8114a4f175529e3e3eb6b0c20785735532ca8c48 (diff) | |
download | mgaonline-94972dd627f9aed7a76e9722f58361dd803c4300.tar mgaonline-94972dd627f9aed7a76e9722f58361dd803c4300.tar.gz mgaonline-94972dd627f9aed7a76e9722f58361dd803c4300.tar.bz2 mgaonline-94972dd627f9aed7a76e9722f58361dd803c4300.tar.xz mgaonline-94972dd627f9aed7a76e9722f58361dd803c4300.zip |
(harvester) display a success or an error message at end of installation
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 10 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- mdkapplet + o display a success or an error message at end of installation + Version 2.51 - 6 October 2008 - mdkapplet @@ -330,6 +330,16 @@ sub harvester { $mdvupdate_returned = 1; } undef $refork_gurpmi; + if ($status) { + ugtk2::ask_warn(N("Error"), + N("Installation failed"), + ); + } else { + ugtk2::ask_warn(N("Congratulations"), + N("Upgrade to Mandriva %s release was successfull.", $new_distro->{version}), + N("You should restart your system.") + ); + } } elsif ($checker_pid && $checker_pid == $childpid) { undef $checker_pid; my ($state) = grep { $_->{code} eq $status } values %comm_codes; |