diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-02 07:59:01 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-02 07:59:01 +0000 |
commit | 621cebed9fab3080aa064bab7ac8d5eea0440a46 (patch) | |
tree | 4b571b442c09cc7ee12c5d504ac6178d0e7c0d56 | |
parent | 0f8a019a045eedcbe204c510bd1ab28d1ee9f771 (diff) | |
download | rpmdrake-621cebed9fab3080aa064bab7ac8d5eea0440a46.tar rpmdrake-621cebed9fab3080aa064bab7ac8d5eea0440a46.tar.gz rpmdrake-621cebed9fab3080aa064bab7ac8d5eea0440a46.tar.bz2 rpmdrake-621cebed9fab3080aa064bab7ac8d5eea0440a46.tar.xz rpmdrake-621cebed9fab3080aa064bab7ac8d5eea0440a46.zip |
MandrakeUpdate wasn't listing the packages for which there was no
entry in the description file (bug #10176)
-rwxr-xr-x | rpmdrake | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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'; |