diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0fb0bcd37ef..5b85d828902 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -314,6 +314,22 @@ if (($opt_gui ne "text") && !$opt_no_gui && ($opt_profile eq "")) { # initialize the correct platform platform(); + +# we do not support cygwin < 1.7, so check for that +if (platform() eq "i386-cygwin") { + chomp( my $un = `uname -r`); + if ($un =~ m/^(\d+)\.(\d+)\./) { + if ($1 < 2 && $2 < 7) { + tlwarn("\nSorry, the TL binaries require at least cygwin 1.7.\n"); + exit(1); + } + } + if (! -r "/usr/bin/cygfontconfig-1.dll") { + tlwarn("\nTexlive installation requires fontconfig. Please run cygwin's setup\nprogram and install the fontconfig package.\n"); + exit(1); + } +} + if (!setup_programs ("$::installerdir/tlpkg/installer", "$::_platform_")) { tlwarn("$0: Couldn't set up the necessary programs;\n" . " perhaps your platform ($::_platform_) is not supported.\n"); |