summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-05 19:01:31 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-05 19:01:31 +0000
commit91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322 (patch)
tree003ba9bd1ee6c18226181096a0a0962c5fda572c
parent69331dceccebdf4bed99aef4d2650a08dc1a0b11 (diff)
downloadurpmi-91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322.tar
urpmi-91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322.tar.gz
urpmi-91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322.tar.bz2
urpmi-91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322.tar.xz
urpmi-91678a3bd2f6d6ae5ff9b56e62a0e79a8b87b322.zip
perl_checker cleanup
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 9a5c4d10..e90602a5 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -667,7 +667,7 @@ sub translate_why_removed_one {
}
sub _libdb_version { $_[0] =~ /libdb-(\S+)\.so/ ? eval "v$1" : () }
-sub _rpm_version { `rpm --version` =~ /version ([0-9.]+)$/ ? eval "v$1" : () }
+sub _rpm_version() { `rpm --version` =~ /version ([0-9.]+)$/ ? eval "v$1" : () }
sub should_we_migrate_back_rpmdb_db_version {
my ($urpm, $state) = @_;