summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-25 16:15:51 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-25 16:15:51 +0000
commit60ba965e3ad79e6fd5b97317ad00a2107c9d8528 (patch)
treeb4acf87667eca7ff27b20cf5dca2adeb7b82d894 /urpm
parentab920d17f80c9ba9f48eb951057e262aa58d3dde (diff)
downloadurpmi-60ba965e3ad79e6fd5b97317ad00a2107c9d8528.tar
urpmi-60ba965e3ad79e6fd5b97317ad00a2107c9d8528.tar.gz
urpmi-60ba965e3ad79e6fd5b97317ad00a2107c9d8528.tar.bz2
urpmi-60ba965e3ad79e6fd5b97317ad00a2107c9d8528.tar.xz
urpmi-60ba965e3ad79e6fd5b97317ad00a2107c9d8528.zip
disable certificate checks on media with the right option
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,
);