summaryrefslogtreecommitdiffstats
path: root/urpm/md5sum.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 17:43:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 17:43:37 +0000
commit871705259637a1b980f74fe118c5a23a0674b283 (patch)
treea7f98f5f3ff8d6036e631b75dfd68a5d032d3d71 /urpm/md5sum.pm
parent30844e6755db13ce18727cc4e7fd113f744e99c0 (diff)
downloadurpmi-871705259637a1b980f74fe118c5a23a0674b283.tar
urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.gz
urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.bz2
urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.xz
urpmi-871705259637a1b980f74fe118c5a23a0674b283.zip
move many functions from urpm.pm to urpm/media.pm
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);
}