texlive[48093] Master/tlpkg/TeXLive/TLConfig.pm: make curl downloader

commits+preining at tug.org commits+preining at tug.org
Tue Jun 26 23:03:57 CEST 2018


Revision: 48093
          http://tug.org/svn/texlive?view=revision&revision=48093
Author:   preining
Date:     2018-06-26 23:03:56 +0200 (Tue, 26 Jun 2018)
Log Message:
-----------
make curl downloader follow redirects like lwp

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLConfig.pm

Modified: trunk/Master/tlpkg/TeXLive/TLConfig.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfig.pm	2018-06-26 02:37:10 UTC (rev 48092)
+++ trunk/Master/tlpkg/TeXLive/TLConfig.pm	2018-06-26 21:03:56 UTC (rev 48093)
@@ -116,7 +116,7 @@
 our @AcceptedFallbackDownloaders = qw/curl wget/;
 our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
 our %FallbackDownloaderArgs = (
-  'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail',
+  'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail', '--location',
              '--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
   'wget' => ['--user-agent=texlive/wget', '--tries=10',
              "--timeout=$NetworkTimeout", '-q', '-O'],



More information about the tex-live-commits mailing list