summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-27 21:50:01 +0000
committerKarl Berry <karl@freefriends.org>2024-04-27 21:50:01 +0000
commit72ec60bd8c0265f7183514d590531d9b1c84ee48 (patch)
tree939e43af48a4be129a808e03f892a1e69845560d
parenteef02f0cb333c408d5d83295850e03c70fcd4539 (diff)
(from_file): additional info if cygwin. See thread around
https://tug.org/pipermail/tex-live/2024-April/050467.html git-svn-id: svn://tug.org/texlive/trunk@71102 c570f23f-e606-0410-a88d-b1316a301751
-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