diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-01 08:54:41 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-01 08:54:41 +0000 |
commit | cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5 (patch) | |
tree | c17052b9bb7a2f3e55bd7574e2fa79fc2d43320d /mdkapplet | |
parent | 125d6acc3dce0cfb277c4dc80849a0ef9fc445c7 (diff) | |
download | mgaonline-cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5.tar mgaonline-cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5.tar.gz mgaonline-cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5.tar.bz2 mgaonline-cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5.tar.xz mgaonline-cbce1c78657ba5d44bebc6117e2b1899f9b2b3e5.zip |
use https to grab mirrorlist from api.mandriva.com
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -280,7 +280,7 @@ sub get_distro_list() { #- contact the following URL to retrieve the list of released distributions. my $type = lc($product_id->{type}); $type =~ s/\s//g; my $extra_path = $::testing || uc($config{TEST_DISTRO_UPGRADE}) eq 'YES' ? 'testing-' : ''; - my $list = "http://api.mandriva.com/distributions/$extra_path$type.$product_id->{arch}.list?product=$product_id->{product}"; + my $list = "https://api.mandriva.com/distributions/$extra_path$type.$product_id->{arch}.list?product=$product_id->{product}"; log::explanations("trying distributions list from $list"); eval { @@ -297,7 +297,7 @@ sub get_distro_list() { mdkapplet_urpm::get_content($urpm, $list); } else { urpm::ensure_valid_cachedir($urpm); - urpm::download::get_content($urpm, $list); + urpm::download::get_content($urpm, $list, "strict-certificate-check" => 1); } }; } |