summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-21 20:16:55 +0000
committerKarl Berry <karl@freefriends.org>2013-03-21 20:16:55 +0000
commit3e53d7343017c1fbe058fe4df9f9acfcbeb26359 (patch)
tree17eda4b20b9374d77d73253dcf98b534340277b9 /Master/tlpkg
parentcd9ea7c07e135acaaf34015219ee0777aa78630c (diff)
message wording
git-svn-id: svn://tug.org/texlive/trunk@29459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index ba8a3450d8f..c55d56a4eef 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1,6 +1,6 @@
# $Id$
# TeXLive::TLUtils.pm - the inevitable utilities for TeX Live.
-# Copyright 2007-2012 Norbert Preining, Reinhard Kotucha
+# Copyright 2007-2013 Norbert Preining, Reinhard Kotucha
# This file is licensed under the GNU General Public License version 2
# or any later version.
@@ -2480,13 +2480,14 @@ sub download_file {
$url = "$TeXLiveURL/$relpath";
}
if (defined($::tldownload_server) && $::tldownload_server->enabled) {
- debug("persistent connection set up, trying to get file.\n");
- if (($ret = $::tldownload_server->get_file($url, $dest))) {
- debug("downloading file via permanent connection succeeded\n");
+ debug("persistent connection set up, trying to get $url (for $dest)\n");
+ $ret = $::tldownload_server->get_file($url, $dest);
+ if ($ret) {
+ debug("downloading file via persistent connection succeeded\n");
return $ret;
} else {
- tlwarn("permanent server connection set up, but downloading did not succeed!");
- tlwarn("Retrying with wget.\n");
+ tlwarn("tlmgr: persistent connection ok, but download failed: $url\n");
+ tlwarn("tlmgr: retrying with wget.\n");
}
} else {
if (!defined($::tldownload_server)) {