summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPDB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPDB.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm18
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 855ee958ce7..97f258ee9aa 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -362,9 +362,21 @@ sub from_file {
# do nothing
} else {
unlink($tlpdbfile);
- tldie( "$0: TLPDB::from_file could not initialize from: $path\n"
- . "$0: Maybe the repository setting should be changed.\n"
- . "$0: More info: https://tug.org/texlive/acquire.html\n");
+ my $diemsg = <<END_DOWNLOAD_FAILURE_MSG;
+$0: TLPDB::from_file could not get texlive.tlpdb from: $path
+Maybe the repository setting should be changed.
+More info: https://tug.org/texlive/acquire.html
+END_DOWNLOAD_FAILURE_MSG
+ if ($^O eq 'cygwin') {
+ $diemsg .= <<END_CYGWIN_WGET_MSG;
+
+It seems you are using Cygwin, and this problem could arise if you haven't
+installed Cygwin's wget. See the TeX Live Guide information on Cygwin
+for required and recommended packages:
+ https://tug.org/texlive/doc/texlive-en/texlive-en.html#cygwin
+END_CYGWIN_WGET_MSG
+ }
+ tldie($diemsg);
}
}
# if we are still here, then either the xz version was downloaded