aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-22 18:17:42 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-22 18:17:42 +0000
commit32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23 (patch)
treeebf5c547248fb8668654793acf4f3db57ee0e08d
parentd5f830dd4382146a86f8f158af73cdffd4732696 (diff)
downloadrpmdrake-32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23.tar
rpmdrake-32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23.tar.gz
rpmdrake-32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23.tar.bz2
rpmdrake-32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23.tar.xz
rpmdrake-32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23.zip
MandrakeUpdate: display all updates when "normal" is checked,
even if there was no description for it
-rwxr-xr-xrpmdrake5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index a7d7ea42..902489d8 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -252,8 +252,9 @@ sub run_treeview_dialog {
} else {
my @keys = keys %$pkgs;
if ($MODE eq 'update') {
- @keys = grep { my ($name) = split_fullname($_);
- member($descriptions->{$name}{importance}, @$mandrakeupdate_wanted_categories) } @keys;
+ member('normal', @$mandrakeupdate_wanted_categories)
+ or @keys = grep { my ($name) = split_fullname($_);
+ member($descriptions->{$name}{importance}, @$mandrakeupdate_wanted_categories) } @keys;
if (@keys == 0) {
$add_node->('', _("(none)"), { nochild => 1 });
my $explanation_only_once if 0;