aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:25 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:25 +0000
commitdb3b6f3c6fc75f5d3de3e37901602b5ec1c70226 (patch)
tree2302e18efb89cbd6230e154047b7acde6f15b3de /rpmdrake.pm
parentfcf29f4a401c46e6e5ac063a69819bf7d6d24ea3 (diff)
downloadrpmdrake-db3b6f3c6fc75f5d3de3e37901602b5ec1c70226.tar
rpmdrake-db3b6f3c6fc75f5d3de3e37901602b5ec1c70226.tar.gz
rpmdrake-db3b6f3c6fc75f5d3de3e37901602b5ec1c70226.tar.bz2
rpmdrake-db3b6f3c6fc75f5d3de3e37901602b5ec1c70226.tar.xz
rpmdrake-db3b6f3c6fc75f5d3de3e37901602b5ec1c70226.zip
(do_search) enable to search in full or short package names (#46473)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index d8177885..dd4a30a7 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -55,6 +55,7 @@ our @EXPORT = qw(
$mandrivaupdate_width
$max_info_in_descr
$mode
+ $NVR_searches
$offered_to_add_sources
$rpmdrake_height
$rpmdrake_width
@@ -159,7 +160,7 @@ $ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root';
$ENV{HOME} = $::env if $::env = $Rpmdrake::init::rpmdrake_options{env}[0];
our $configfile = "$ENV{HOME}/.rpmdrake";
-our ($changelog_first_config, $compute_updates, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode, $use_regexp);
+our ($changelog_first_config, $compute_updates, $filter, $max_info_in_descr, $mode, $NVR_searches, $tree_flat, $tree_mode, $use_regexp);
our ($mandrakeupdate_wanted_categories, $ignore_debug_media, $offered_to_add_sources, $no_confirmation);
our ($rpmdrake_height, $rpmdrake_width, $mandrivaupdate_height, $mandrivaupdate_width);
our %config = (
@@ -173,6 +174,7 @@ our %config = (
mandrivaupdate_width => { var => \$mandrivaupdate_width, default => [ 0 ] },
max_info_in_descr => { var => \$max_info_in_descr, default => [] },
mode => { var => \$mode, default => [ 'by_group' ] },
+ NVR_searches => { var => \$NVR_searches, default => [ 0 ] },
'no-confirmation' => { var => \$no_confirmation, default => [ 0 ] },
offered_to_add_sources => { var => \$offered_to_add_sources, default => [ 0 ] },
rpmdrake_height => { var => \$rpmdrake_height, default => [ 0 ] },