From 353e1207f87d868c93ee586a5e70a8a7097ed440 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Apr 2021 21:26:24 +0000 Subject: support both http: and https://mirror.ctan.org git-svn-id: svn://tug.org/texlive/trunk@58938 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/install-tl') diff --git a/Master/install-tl b/Master/install-tl index 51e17668c24..58cac20f5b6 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -746,9 +746,9 @@ sub only_load_remote { $location =~ s,/(tlpkg(/texlive\.tlpdb)?|archive)?/*$,,; if ($location =~ m/^ctan$/i) { $location = TeXLive::TLUtils::give_ctan_mirror(); - } elsif ($location =~ m/^$TeXLiveServerURL/) { + } elsif ($location =~ m/^$TeXLiveServerURLRegexp/) { my $mirrorbase = TeXLive::TLUtils::give_ctan_mirror_base(); - $location =~ s,^($TeXLiveServerURL|ctan$),$mirrorbase,; + $location =~ s,^($TeXLiveServerURLRegexp|ctan$),$mirrorbase,; } $TeXLiveURL = $location; $media = 'NET'; -- cgit v1.2.3