summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-06-05 16:31:31 +0000
committerNorbert Preining <preining@logic.at>2010-06-05 16:31:31 +0000
commitaec43c7830a63c5cc82c699f4490862af0d91958 (patch)
tree585e905c2b287f9f517a516e26859391d3937427 /Master/tlpkg/TeXLive/TLUtils.pm
parentd65aa576328f6698d7e7bf7c65119281cbca0981 (diff)
various changes:
- install-tl: try to add /systems/texlive/tlnet if initial download does not succeed - TLDownload errorcount/enable/disable support (used in install-tl) - TLUtils: check for TLDownload enabled status - TLPDB: remove warning about unsuccessfull download of .tlpdb, it is now in tlmgr (where it was already) and install-tl. git-svn-id: svn://tug.org/texlive/trunk@18756 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 3658689b808..9ec12ace487 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -2243,7 +2243,7 @@ sub download_file {
} else {
$url = "$TeXLiveURL/$relpath";
}
- if (defined($::tldownload_server)) {
+ if (defined($::tldownload_server) && $::tldownload_server->enabled) {
if (($ret = $::tldownload_server->get_file($url, $dest))) {
debug("downloading file via permanent connection succeeded\n");
return $ret;