diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-25 09:30:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-25 09:30:40 +0000 |
commit | b1b5c1dcc1f9388689c1bc8b3d24f81077a16544 (patch) | |
tree | 735689bd84146fddf34623499dcaf36bf44f3bf7 /Rpmdrake | |
parent | 7815cb8fdfd7626bec11907a1c079ed9c29c0d3f (diff) | |
download | rpmdrake-b1b5c1dcc1f9388689c1bc8b3d24f81077a16544.tar rpmdrake-b1b5c1dcc1f9388689c1bc8b3d24f81077a16544.tar.gz rpmdrake-b1b5c1dcc1f9388689c1bc8b3d24f81077a16544.tar.bz2 rpmdrake-b1b5c1dcc1f9388689c1bc8b3d24f81077a16544.tar.xz rpmdrake-b1b5c1dcc1f9388689c1bc8b3d24f81077a16544.zip |
(get_pkgs) list meta tasks in GUI package list too (#43114)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 7d7d48ec..73a5cc26 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -528,6 +528,8 @@ sub get_pkgs { my @meta_pkgs = grep { /^task-|^basesystem/ } keys %all_pkgs; my @gui_pkgs = map { chomp; $_ } cat_('/usr/share/rpmdrake/gui.lst'); + # add meta packages to GUI packages list (which expect basic names not fullnames): + push @gui_pkgs, map { (split_fullname($_))[0] } @meta_pkgs; +{ urpm => $urpm, all_pkgs => \%all_pkgs, |