diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-30 15:05:13 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-30 15:05:13 +0000 |
commit | 7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a (patch) | |
tree | b4867017e77f775aeb182b8b040307ed00d11a13 | |
parent | 4ccdb36ac278269974f0edfceea9120ac3995c7e (diff) | |
download | drakx-7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a.tar drakx-7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a.tar.gz drakx-7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a.tar.bz2 drakx-7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a.tar.xz drakx-7bd3d9d1fe0788ee93f9a6f4a005e0d945073a6a.zip |
mirror: use https URL for fetching the mirror list.
-rw-r--r-- | perl-install/mirror.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/mirror.pm b/perl-install/mirror.pm index 0e61bc174..11d55f06b 100644 --- a/perl-install/mirror.pm +++ b/perl-install/mirror.pm @@ -80,8 +80,7 @@ sub mirrors_raw { #- contact the following URL to retrieve the list of mirrors. #- http://wiki.mageia.org/en/Product_id my $type = lc($product_id->{type}); $type =~ s/\s//g; - #- FIXME! (blino) we use use https here - my $list = "http://mirrors.mageia.org/api/$type.$product_id->{version}.$product_id->{arch}.list?product=$product_id->{product}"; + my $list = "https://mirrors.mageia.org/api/$type.$product_id->{version}.$product_id->{arch}.list?product=$product_id->{product}"; log::explanations("trying mirror list from $list"); my @lines = $::isInstall ? _mirrors_raw_install($list) : _mirrors_raw_standalone($list); map { common::parse_LDAP_namespace_structure(chomp_($_)) } @lines; |