aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-05 20:31:06 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-05 20:31:06 +0000
commit5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e (patch)
treef78892483e6ddec329e2001c6438e6b192cdc68c
parentefd3bd6e805837decf92e2b38e1fe90c4596295f (diff)
downloadrpmdrake-5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e.tar
rpmdrake-5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e.tar.gz
rpmdrake-5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e.tar.bz2
rpmdrake-5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e.tar.xz
rpmdrake-5f9324204cbc07cc910d2ef6980ba1c3a7ce7a9e.zip
don't try to search in files when in remove mode
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 45714b81..d261dc8f 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -411,7 +411,7 @@ sub run_treeview_dialog {
$options->{state}{flat} and $options->{delete_all}->();
$tree->collapse_recursive(undef);
my @search_results;
- if ($entry =~ m|/|) {
+ if ($MODE ne 'remove' && $entry =~ m|/|) {
my $w = wait_msg(_("Please wait, searching in files..."));
open SF, 'parsehdlist --fileswinfo --quiet ' .
join(' ', map { my $hdlist = "$urpm->{statedir}/$_->{hdlist}";