summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-29 17:34:15 +0000
committerKarl Berry <karl@freefriends.org>2024-04-29 17:34:15 +0000
commitdd620af61b1cbffd9ea8679e3f51133f783f3ee0 (patch)
tree3fb4396c8a0099fc947c71dd93344b1f0ece50c5
parent6350524eb542b8de8a969985355fe2df94943b3b (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
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm10
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
}