aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/rpmnew.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/rpmnew.pm')
-rw-r--r--Rpmdrake/rpmnew.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/rpmnew.pm b/Rpmdrake/rpmnew.pm
index dbbd7c47..ef51ca4a 100644
--- a/Rpmdrake/rpmnew.pm
+++ b/Rpmdrake/rpmnew.pm
@@ -29,6 +29,7 @@ use common;
use rpmdrake;
use Rpmdrake::init;
use Rpmdrake::pkg;
+use Rpmdrake::open_db;
use Rpmdrake::formatting;
use Gtk2::SourceView;
use File::MimeInfo::Magic;
@@ -188,7 +189,7 @@ sub do_merge_if_needed() {
my %pkg2rpmnew;
my $wait = wait_msg(N("Please wait, searching..."));
print "Searching .rpmnew and .rpmsave files...\n";
- Rpmdrake::pkg::open_rpm_db()->traverse(sub {
+ open_rpm_db()->traverse(sub {
my $n = my_fullname($_[0]);
$pkg2rpmnew{$n} = [ grep { m|^/etc| && (-r "$_.rpmnew" || -r "$_.rpmsave") } map { chomp_($_) } $_[0]->files ];
});