summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-18 12:49:35 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-18 12:49:35 +0000
commita1cb50ec46383cfd33d2b8b61eb316ab661c29ff (patch)
tree68881736b0c95d4c2aaeb8596bebf6032ef065d1
parent075038f53bcf15de3ead1ce4d791d4ced8823d3a (diff)
downloaddrakx-a1cb50ec46383cfd33d2b8b61eb316ab661c29ff.tar
drakx-a1cb50ec46383cfd33d2b8b61eb316ab661c29ff.tar.gz
drakx-a1cb50ec46383cfd33d2b8b61eb316ab661c29ff.tar.bz2
drakx-a1cb50ec46383cfd33d2b8b61eb316ab661c29ff.tar.xz
drakx-a1cb50ec46383cfd33d2b8b61eb316ab661c29ff.zip
(get_medium) drop obsolete unused fields 'hdlist_size' and 'synthesis_hdlist_size'
-rw-r--r--perl-install/install/media.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index a9bd3c299..891a658c0 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -29,7 +29,6 @@ use urpm::download;
#- end (last rpm id, undefined iff not selected)
#- fakemedium ("$name ($rpmsdir)", used locally by urpmi)
#- rel_hdlist
-#- hdlist_size
#- key-ids
#- name (text description)
#- pubkey (array containing all the keys to import)
@@ -38,7 +37,6 @@ use urpm::download;
#- selected
#- size (in MB)
#- start (first rpm id, undefined iff not selected)
-#- synthesis_hdlist_size
#- update (for install_urpmi)
@@ -705,7 +703,6 @@ sub get_medium {
getAndSaveFile_progress($in_wait, N("Downloading file %s...", $m->{rel_hdlist}),
$phys_m, $m->{rel_hdlist}, $hdlist) or die "no $m->{rel_hdlist} found";
- $m->{hdlist_size} = -s $hdlist; #- keep track of size for post-check.
}
my $synthesis = urpmidir() . "/synthesis.hdlist.$m->{fakemedium}.cz";
@@ -715,7 +712,6 @@ sub get_medium {
#- copy existing synthesis file too.
getAndSaveFile_progress($in_wait, N("Downloading file %s...", $rel_synthesis),
$phys_m, $rel_synthesis, $synthesis);
- $m->{synthesis_hdlist_size} = -s $synthesis; #- keep track of size for post-check.
}
#- get all keys corresponding in the right pubkey file,