aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:21 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:21 +0000
commit150a939cfe47d4f4b351f284367be73febc1a740 (patch)
treeffcec9f8494b0ec63ae1a89234926cf2acdeeafa /rpmdrake.pm
parent5be8ced0798f549f7c974d156b821afa9c9c233f (diff)
downloadrpmdrake-150a939cfe47d4f4b351f284367be73febc1a740.tar
rpmdrake-150a939cfe47d4f4b351f284367be73febc1a740.tar.gz
rpmdrake-150a939cfe47d4f4b351f284367be73febc1a740.tar.bz2
rpmdrake-150a939cfe47d4f4b351f284367be73febc1a740.tar.xz
rpmdrake-150a939cfe47d4f4b351f284367be73febc1a740.zip
(do_search) enable to disable use of regular expression (default is: disabled)
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 c593fe22..d8177885 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -60,6 +60,7 @@ our @EXPORT = qw(
$rpmdrake_width
$tree_flat
$tree_mode
+ $use_regexp
$typical_width
add_distrib_update_media
add_medium_and_check
@@ -158,7 +159,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);
+our ($changelog_first_config, $compute_updates, $filter, $max_info_in_descr, $mode, $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 = (
@@ -178,6 +179,7 @@ our %config = (
rpmdrake_width => { var => \$rpmdrake_width, default => [ 0 ] },
tree_flat => { var => \$tree_flat, default => [ 0 ] },
tree_mode => { var => \$tree_mode, default => [ qw(gui_pkgs) ] },
+ use_regexp => { var => \$use_regexp, default => [ 0 ] },
);
sub readconf() {