summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-01 17:06:47 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-01 17:06:47 +0000
commitea75348ef8de8ba477b3d3fbb1384e8f79907fdd (patch)
tree9b12044732eb3628614ace0fe742c612bdbc3741 /urpm.pm
parentc6876d4373199409915678cdd431dd81b01a2488 (diff)
downloadurpmi-ea75348ef8de8ba477b3d3fbb1384e8f79907fdd.tar
urpmi-ea75348ef8de8ba477b3d3fbb1384e8f79907fdd.tar.gz
urpmi-ea75348ef8de8ba477b3d3fbb1384e8f79907fdd.tar.bz2
urpmi-ea75348ef8de8ba477b3d3fbb1384e8f79907fdd.tar.xz
urpmi-ea75348ef8de8ba477b3d3fbb1384e8f79907fdd.zip
*** empty log message ***
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 5c7d719a..545e5eeb 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -433,7 +433,7 @@ sub update_media {
#- we need to rebuild from rpm files the hdlist.
eval {
$urpm->{log}("building hdlist [$urpm->{cachedir}/partial/$medium->{hdlist}]");
- $urpm->{params}->build_hdlist($options{noclean}, "$urpm->{cachedir}/headers",
+ $urpm->{params}->build_hdlist($options{noclean}, $options{ratio} || 4, "$urpm->{cachedir}/headers",
"$urpm->{cachedir}/partial/$medium->{hdlist}", @files);
};
$@ and $error = 1, $urpm->{error}("unable to build hdlist: $@");