summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-06 18:08:29 +0000
committerKarl Berry <karl@freefriends.org>2021-05-06 18:08:29 +0000
commit0f22d2ffb285c68fcbdf39454df79af0f9f372aa (patch)
tree44dbeae09ef326f756ffa0c4825c6a2fb4d75433 /Master/tlpkg
parent662b4b494a3c22bd5e3b67e093642092601b1e5f (diff)
(%FallbackDownloaderArgs): pass --insecure for
curl and --no-check-certificates for wget. git-svn-id: svn://tug.org/texlive/trunk@59097 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index 0b2862c163b..a64eda11a2b 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -125,10 +125,13 @@ if ($^O =~ /^MSWin/i) {
our @AcceptedFallbackDownloaders = qw/curl wget/;
our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
our %FallbackDownloaderArgs = (
- 'curl' => ['--user-agent', 'texlive/curl', '--retry', '4', '--retry-delay', '5',
- '--fail', '--location',
- '--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
+ 'curl' => ['--user-agent', 'texlive/curl',
+ '--retry', '4', '--retry-delay', '4',
+ '--connect-timeout', "$NetworkTimeout",
+ '--insecure',
+ '--fail', '--location', '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=4',
+ '--no-check-certificates',
"--timeout=$NetworkTimeout", '-q', '-O'],
);
# the way we package things on the web