diff options
author | Norbert Preining <norbert@preining.info> | 2024-04-28 03:00:59 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-04-28 03:00:59 +0000 |
commit | 6ed42a56797a9b75307dcebfd82f2d69767e1b97 (patch) | |
tree | a3a53cbc357c9bd13040bede870d9b1801293eb4 /systems/texlive/tlnet/tlpkg/TeXLive | |
parent | 71f3eefe319b1194e0470ee83dd8723b3288f8d4 (diff) |
CTAN sync 202404280300
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/TeXLive')
-rw-r--r-- | systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm b/systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm index 73590a2b0f..896bc80a5e 100644 --- a/systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm +++ b/systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm @@ -1,4 +1,4 @@ -# $Id: TLPDB.pm 70573 2024-03-10 21:37:05Z karl $ +# $Id: TLPDB.pm 71102 2024-04-27 21:50:01Z karl $ # TeXLive::TLPDB.pm - tlpdb plain text database files. # Copyright 2007-2024 Norbert Preining # This file is licensed under the GNU General Public License version 2 @@ -7,7 +7,7 @@ use strict; use warnings; package TeXLive::TLPDB; -my $svnrev = '$Revision: 70573 $'; +my $svnrev = '$Revision: 71102 $'; my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown"; sub module_revision { return $_modulerevision; } @@ -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 |