aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake8
1 files changed, 6 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 9af16e23..da19cdb1 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -448,8 +448,11 @@ 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;
+ @keys = grep {
+ my ($name) = split_fullname($_);
+ member($descriptions->{$name}{importance}, @$mandrakeupdate_wanted_categories)
+ || ! $descriptions->{$name}{importance}
+ } @keys;
if (@keys == 0) {
$add_node->('', N("(none)"), { nochild => 1 });
my $explanation_only_once if 0;
@@ -1075,6 +1078,7 @@ Then, restart MandrakeUpdate.")), myexit(-1);
}
my ($cur, $section);
+ #- parse the description file
foreach (map { cat_("$statedir/descriptions.$_->{name}"), '%package dummy' } @update_medias) {
/^%package (.+)/ and do {
exists $cur->{importance} && !member($cur->{importance}, qw(security bugfix)) and $cur->{importance} = 'normal';