texlive[71122] Master/tlpkg/TeXLive/TLPDB.pm: (from_file): only give

commits+karl at tug.org commits+karl at tug.org
Mon Apr 29 19:34:15 CEST 2024


Revision: 71122
          https://tug.org/svn/texlive?view=revision&revision=71122
Author:   karl
Date:     2024-04-29 19:34:15 +0200 (Mon, 29 Apr 2024)
Log Message:
-----------
(from_file): only give Cygwin message if
/usr/bin/wget.exe does not exist; suggestion from Ken.

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLPDB.pm

Modified: trunk/Master/tlpkg/TeXLive/TLPDB.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPDB.pm	2024-04-29 17:27:25 UTC (rev 71121)
+++ trunk/Master/tlpkg/TeXLive/TLPDB.pm	2024-04-29 17:34:15 UTC (rev 71122)
@@ -367,12 +367,14 @@
 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
         }



More information about the tex-live-commits mailing list.