aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-20 21:04:05 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-20 21:04:05 +0000
commitcaf468c7a499790da9108c416b00e75323c8ee28 (patch)
tree1c210f21c135e134a17d31a474dee3161f78c5fd /Rpmdrake/pkg.pm
parentb83d5e6d041c4ba6c2649ec017ee77019db4ba77 (diff)
downloadrpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.gz
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.bz2
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.xz
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.zip
(version_release) rename it as evr()
rationale: it is really what it is after previous commit
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 9b76baea..12ab3452 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 = version_release($_[0]) });
+ open_rpm_db()->traverse_tag_find('name', $p->name, sub { $version = evr($_[0]) });
$version || N("(none)");
}