aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-30 13:13:41 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-30 13:13:41 +0000
commita67f3ec6d6d5b81e94b019698aefac6134fda6c1 (patch)
treea060cb0e975cadfe0a19d8a7d66ebced1fe586c5
parentd189d143b7d625520257780dea8cf994a8b45691 (diff)
downloadrpmdrake-a67f3ec6d6d5b81e94b019698aefac6134fda6c1.tar
rpmdrake-a67f3ec6d6d5b81e94b019698aefac6134fda6c1.tar.gz
rpmdrake-a67f3ec6d6d5b81e94b019698aefac6134fda6c1.tar.bz2
rpmdrake-a67f3ec6d6d5b81e94b019698aefac6134fda6c1.tar.xz
rpmdrake-a67f3ec6d6d5b81e94b019698aefac6134fda6c1.zip
(do_search) use more modern API (MDV::Packdrakeng instead of packdrake)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 54d9a739..021bee77 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -561,7 +561,7 @@ sub do_search($$$$$$$) {
my $total_size = sum(
map {
my $pack;
- eval { require packdrake; $pack = new packdrake($_, quiet => 1) } ? $pack->{toc_f_count} : 0;
+ eval { require MDV::Packdrakeng; $pack = MDV::Packdrakeng->open (archive => $_, quit => 1) } ? $pack->{toc_f_count} : 0;
} @hdlists
);
my $searchstop;