summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-03-14 15:52:58 +0000
committerNorbert Preining <preining@logic.at>2010-03-14 15:52:58 +0000
commit5a3b067e65a75ce1c3ac44359bcb0e711252857c (patch)
tree6a95493b78049073407052cb2e80ddeabde5d301 /Master/texmf
parentd0e0ada2fca9b2bb08524047800086a4eadbe6a3 (diff)
turn on persistent download connections by default, document how to
turn them off, and change user agent strings for wget to "texlive/wget" and use "texlive/lwp" for the new method git-svn-id: svn://tug.org/texlive/trunk@17455 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl20
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 36d71c8de7f..3b653e625f0 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -125,7 +125,7 @@ sub main {
"location|repository|repo" => "=s",
"machine-readable" => 1,
"package-logfile" => "=s",
- "persistent-downloads" => 1,
+ "persistent-downloads" => "!",
"pause" => 1,
"version" => 1,
"help|h|?" => 1);
@@ -202,6 +202,7 @@ sub main {
TeXLive::TLUtils::process_logging_options();
+ $opts{'persistent-downloads'} = 1;
GetOptions(\%opts, keys(%optarg)) or pod2usage(2);
$::debug_translation = 0;
@@ -4412,11 +4413,18 @@ Windows to avoid command windows disappearing.
=item B<--persistent-downloads>
-For net installs, try to set up a persistent connection using the
-Net::LWP Perl module. This reuses a connection between your computer
-and the server for the session, instead of initiating a new download for
-each package. We hope this option will reduce the probability of
-connection problems.
+=item B<--no-persistent-downloads>
+
+For net installs, activating this option makes tlmgr try to set up a
+persistent connection using the Net::LWP Perl module.
+This opens only one connection between your computer and the server
+per session and reuses it, instead of initiating a new download for
+each package.
+
+This option is turned on by default, and tlmgr will
+fall back to using wget if this is not possible. If you want to disable
+usage of LWP and persistent connections, please use
+B<--no-persistent-downloads>.
=item B<--debug-translation>