summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xmdkapplet16
2 files changed, 13 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index 1f403106..b042daac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- mdkapplet
+ o do not display gurpmi log errors when done installing updates,
+ only do it for distribution upgrade
+
Version 2.54 - 10 October 2008
- mdkapplet
diff --git a/mdkapplet b/mdkapplet
index f042030c..c1ad3996 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -331,13 +331,15 @@ sub harvester {
$mdvupdate_returned = 1;
}
undef $refork_gurpmi;
- if ($status) {
- ugtk2::ask_warn(N("Error"),
- N("Installation failed"),
- N("Installation logs can be found in '%s'", $log_file)
- );
- } elsif ($state_global eq 'new_distribution') {
- upgrade_distro_congratulations();
+ if ($state_global eq 'new_distribution') {
+ if ($status) {
+ ugtk2::ask_warn(N("Error"),
+ N("Installation failed"),
+ N("Installation logs can be found in '%s'", $log_file)
+ );
+ } else {
+ upgrade_distro_congratulations();
+ }
}
} elsif ($checker_pid && $checker_pid == $childpid) {
undef $checker_pid;