summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 75a8b3d5..87d9f5fd 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -855,6 +855,7 @@ sub _all_options {
dir => "$urpm->{cachedir}/partial",
proxy => get_proxy_($urpm, $medium),
metalink => $medium->{mirrorlist},
+ $medium->{disable-certificate-check}?"no-certificate-check":(),
$urpm->{debug} ? (debug => $urpm->{debug}) : (),
%$options,
);