summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2021-08-31 18:33:30 -0700
committerDan Fandrich <dan@coneharvesters.com>2021-08-31 18:33:49 -0700
commit156fcf2ce9866e9f7505bf9c04b845c54fce501c (patch)
tree8f9ecdc66e8242b60665b5ba99a3a6a4fd6a032b
parent64eddd830163cde295353c9bdca913a2d24722e2 (diff)
downloadurpmi-156fcf2ce9866e9f7505bf9c04b845c54fce501c.tar
urpmi-156fcf2ce9866e9f7505bf9c04b845c54fce501c.tar.gz
urpmi-156fcf2ce9866e9f7505bf9c04b845c54fce501c.tar.bz2
urpmi-156fcf2ce9866e9f7505bf9c04b845c54fce501c.tar.xz
urpmi-156fcf2ce9866e9f7505bf9c04b845c54fce501c.zip
Use https: when getting the mirrorlist
-rw-r--r--urpm/mirrors.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index 861234dc..5feb3327 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -324,15 +324,15 @@ sub _mageia_mirrorlist {
my ($product_id, $o_arch) = @_;
#- contact the following URL to retrieve the list of mirrors.
- #- http://wiki.mandriva.com/en/Product_id
+ #- https://wiki.mageia.org/en/Product_id
my $_product_type = lc($product_id->{type}); $product_id =~ s/\s//g;
my $arch = $o_arch || $product_id->{arch};
my @para = grep { $_ } $ENV{URPMI_ADDMEDIA_REASON};
my $product_version = $ENV{URPMI_ADDMEDIA_PRODUCT_VERSION} || $product_id->{version};
- #"http://mirrors.mageia.org/api/$product_type.$product_version.$arch.list"
- "http://mirrors.mageia.org/api/mageia.$product_version.$arch.list"
+ #"https://mirrors.mageia.org/api/$product_type.$product_version.$arch.list"
+ "https://mirrors.mageia.org/api/mageia.$product_version.$arch.list"
. (@para ? '?' . join('&', @para) : '');
}