aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/gui.pm8
2 files changed, 6 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 238af024..8ac881cf 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix wrong notice message for updates (#60629)
+
Version 5.26.3 - 16 July 2010, Thierry Vignaud
- fix crashing when looking at update details (#60153)
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index c18a7503..1cd246d2 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -172,11 +172,11 @@ sub get_string_from_keywords {
$unsupported, $dangerous, $s);
} elsif (member('updates', @media_types)) {
return join("\n",
- (member('official', @media_types) && member('official', @media_types) ?
+ (member('official', @media_types) ?
N("This is an offical update which is supported by Mandriva.")
- : N("This is an unoffical update which is <b>not supported</b>.")),
- N("This package contains a new version that was backported."),
- $unsupported, $s);
+ : (N("This is an unoffical update."), $unsupported))
+ ,
+ $s);
} else {
$s .= N("This is an official package supported by Mandriva") . "\n" if member('official', @media_types);
return $s;