diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 13:08:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 13:08:33 +0000 |
commit | 57cd86ef19df8f718d2b99de9c00487078ec1d15 (patch) | |
tree | 51d39ba7f247f279640b5e95221a59bd9218e1cb /rpmdrake.pm | |
parent | c992bb2820182f1ecd26c00b2f721bb21f40c7ad (diff) | |
download | rpmdrake-57cd86ef19df8f718d2b99de9c00487078ec1d15.tar rpmdrake-57cd86ef19df8f718d2b99de9c00487078ec1d15.tar.gz rpmdrake-57cd86ef19df8f718d2b99de9c00487078ec1d15.tar.bz2 rpmdrake-57cd86ef19df8f718d2b99de9c00487078ec1d15.tar.xz rpmdrake-57cd86ef19df8f718d2b99de9c00487078ec1d15.zip |
split filters (all, installed, non installed) from views (GUI, meta packages,
updates, ...)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 4f9b90cb..9be62aed 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -47,6 +47,7 @@ our $VERSION = '2.27'; our @EXPORT = qw( $already_splashed $changelog_first_config + $filter $dont_show_selections $mandrakeupdate_wanted_categories $max_info_in_descr @@ -147,7 +148,7 @@ my ($root) = grep { $_->[2] == 0 } list_passwd(); $ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root'; our $configfile = "$ENV{HOME}/.rpmdrake"; -our ($already_splashed, $changelog_first_config, $max_info_in_descr, $tree_flat, $tree_mode); +our ($already_splashed, $changelog_first_config, $filter, $max_info_in_descr, $tree_flat, $tree_mode); our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmation); our %config = ( mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] }, @@ -159,6 +160,7 @@ our %config = ( tree_flat => { var => \$tree_flat, default => [ 0 ] }, changelog_first_config => { var => \$changelog_first_config, default => [ 0 ] }, 'no-confirmation' => { var => \$no_confirmation, default => [ 0 ] }, + filter => { var => \$filter, default => [ 'all' ] }, ); sub readconf() { |