diff options
author | Karl Berry <karl@freefriends.org> | 2021-04-21 21:26:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-04-21 21:26:24 +0000 |
commit | 353e1207f87d868c93ee586a5e70a8a7097ed440 (patch) | |
tree | f89c60324d378ee48a89e6e05e8db4e8a8942835 /Master/tlpkg/TeXLive | |
parent | ee4b2a525b66c8615488d8609a2a4f01898f787b (diff) |
support both http: and https://mirror.ctan.org
git-svn-id: svn://tug.org/texlive/trunk@58938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLConfig.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 3a7e8d1f101..0b2862c163b 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -35,6 +35,7 @@ BEGIN { $BlockSize $Archive $TeXLiveServerURL + $TeXLiveServerURLRegexp $TeXLiveServerPath $TeXLiveURL @CriticalPackagesList @@ -102,6 +103,7 @@ our $MaxLWPReinitCount = 10; our $Archive = "archive"; our $TeXLiveServerURL = "https://mirror.ctan.org"; +our $TeXLiveServerURLRegexp = 'https?://mirror\.ctan\.org'; # from 2009 on we try to put them all into tlnet directly without any # release year since we hope that we can switch over to 2010 on the fly # our $TeXLiveServerPath = "systems/texlive/tlnet/$ReleaseYear"; @@ -341,6 +343,7 @@ The assumed block size, currently 4k. These values specify where to find packages. =item C<$TeXLive::TLConfig::TeXLiveServerURL> +=item C<$TeXLive::TLConfig::TeXLiveServerURLRegexp> =item C<$TeXLive::TLConfig::TeXLiveServerPath> C<TeXLiveURL> is concatenated from these values, with a string between. |