diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-29 17:34:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-29 17:34:15 +0000 |
commit | dd620af61b1cbffd9ea8679e3f51133f783f3ee0 (patch) | |
tree | 3fb4396c8a0099fc947c71dd93344b1f0ece50c5 /Master/tlpkg | |
parent | 6350524eb542b8de8a969985355fe2df94943b3b (diff) |
(from_file): only give Cygwin message if
/usr/bin/wget.exe does not exist; suggestion from Ken.
git-svn-id: svn://tug.org/texlive/trunk@71122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPDB.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm index 97f258ee9aa..0238428499e 100644 --- a/Master/tlpkg/TeXLive/TLPDB.pm +++ b/Master/tlpkg/TeXLive/TLPDB.pm @@ -367,12 +367,14 @@ $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') { + + # If they have the Cygwin wget.exe, some other problem. + if ($^O eq 'cygwin' && -x "/usr/bin/wget.exe") { $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: +It seems you are using Cygwin and 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 } |