summaryrefslogtreecommitdiffstats
path: root/urpm/md5sum.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/md5sum.pm')
-rw-r--r--urpm/md5sum.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/md5sum.pm b/urpm/md5sum.pm
index 829e0dfd..f5295190 100644
--- a/urpm/md5sum.pm
+++ b/urpm/md5sum.pm
@@ -40,8 +40,8 @@ sub on_local_medium {
sub compute_on_local_medium {
my ($urpm, $medium) = @_;
- require urpm; #- help perl_checker
- my $f = urpm::statedir_hdlist_or_synthesis($urpm, $medium);
+ require urpm::media; #- help perl_checker
+ my $f = urpm::media::statedir_hdlist_or_synthesis($urpm, $medium);
$urpm->{log}(N("computing md5sum of existing source hdlist (or synthesis) [%s]", $f));
-e $f && compute($f);
}