summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index d37d2b70..959d801d 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -245,7 +245,7 @@ sub read_config {
#- read MD5 sums (usually not in urpmi.cfg but in a separate file)
foreach (@{$urpm->{media}}) {
- if (my $md5sum = get_computed_md5sum("$urpm->{statedir}/MD5SUM", ($_->{synthesis} ? "synthesis." : "") . $_->{hdlist})) {
+ if (my $md5sum = get_md5sum("$urpm->{statedir}/MD5SUM", ($_->{synthesis} ? "synthesis." : "") . $_->{hdlist})) {
$_->{md5sum} = $md5sum;
}
}
@@ -3427,7 +3427,7 @@ sub get_updates_description {
}
#- parse an MD5SUM file from a mirror
-sub get_computed_md5sum {
+sub get_md5sum {
my ($path, $basename) = @_;
my ($retrieved_md5sum) = map {
@@ -3441,7 +3441,7 @@ sub get_computed_md5sum {
sub parse_md5sum {
my ($urpm, $path, $basename) = @_;
$urpm->{log}(N("examining MD5SUM file"));
- my $retrieved_md5sum = get_computed_md5sum($path, $basename)
+ my $retrieved_md5sum = get_md5sum($path, $basename)
or $urpm->{log}(N("warning: md5sum for %s unavailable in MD5SUM file", $basename));
return $retrieved_md5sum;
}