aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 12ab3452..3b171c4d 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -192,7 +192,7 @@ sub extract_header {
sub find_installed_version {
my ($p) = @_;
my $version;
- open_rpm_db()->traverse_tag_find('name', $p->name, sub { $version = evr($_[0]) });
+ open_rpm_db()->traverse_tag_find('name', $p->name, sub { $version = $_[0]->EVR });
$version || N("(none)");
}