summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-23 07:58:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-23 07:58:05 +0000
commitc5fa330037e4a0e0a9341b268672a4186a8e62a5 (patch)
tree87064390adee64f9fa6586c5238ecc6f31a6701f /urpm/media.pm
parentc919aaad8ee54e748b2a642d045cd98e9e6c9c35 (diff)
downloadurpmi-c5fa330037e4a0e0a9341b268672a4186a8e62a5.tar
urpmi-c5fa330037e4a0e0a9341b268672a4186a8e62a5.tar.gz
urpmi-c5fa330037e4a0e0a9341b268672a4186a8e62a5.tar.bz2
urpmi-c5fa330037e4a0e0a9341b268672a4186a8e62a5.tar.xz
urpmi-c5fa330037e4a0e0a9341b268672a4186a8e62a5.zip
_retrieve_media_info_file_and_check_MD5SUM() is called from
_retrieve_xml_media_info_or_remove() which is called from _update_medium_(), so we are sure {parsed_md5sum} is already computed
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 2c3e102a..90255984 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1706,8 +1706,6 @@ sub _retrieve_xml_media_info_or_remove {
sub _retrieve_media_info_file_and_check_MD5SUM {
my ($urpm, $medium, $prefix, $suffix, $quiet) = @_;
- $medium->{parsed_md5sum} = urpm::md5sum::parse(statedir_MD5SUM($urpm, $medium));
-
my $name = "$prefix$suffix";
my $cachedir_file =
is_local_medium($medium) ?