diff options
author | Norbert Preining <preining@logic.at> | 2010-03-14 15:52:58 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-03-14 15:52:58 +0000 |
commit | 5a3b067e65a75ce1c3ac44359bcb0e711252857c (patch) | |
tree | 6a95493b78049073407052cb2e80ddeabde5d301 /Master/install-tl | |
parent | d0e0ada2fca9b2bb08524047800086a4eadbe6a3 (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/install-tl')
-rwxr-xr-x | Master/install-tl | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/install-tl b/Master/install-tl index 14c484f539c..4abcb420365 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -158,7 +158,7 @@ my $opt_scheme = ""; my $opt_custom_bin; my $opt_version = 0; my $opt_force_arch; -my $opt_persistent_downloads = 0; +my $opt_persistent_downloads = 1; # show all options even those not relevant for that arch $::opt_all_options = 0; @@ -212,7 +212,7 @@ GetOptions( "profile=s" => \$opt_profile, "scheme=s" => \$opt_scheme, "all-options" => \$::opt_all_options, - "persistent-downloads" => \$opt_persistent_downloads, + "persistent-downloads!" => \$opt_persistent_downloads, "version" => \$opt_version, "help|?" => \$opt_help) or pod2usage(1); @@ -2007,11 +2007,18 @@ the postinstall actions. =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 the installer 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 the installation program 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> |