summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-12 14:16:05 +0000
committerNorbert Preining <preining@logic.at>2009-06-12 14:16:05 +0000
commit1abe78d0600602fcae258cb50548c4f7a61f1e97 (patch)
treecf7b50cceb5db71b7590712e14cb1623c123842c /Master
parentb1268f502db4628e7ac20e592edb8ee694a5298a (diff)
move the warning on missing fontconfig into xetex's postaction
git-svn-id: svn://tug.org/texlive/trunk@13724 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl4
-rw-r--r--Master/tlpkg/tlpostcode/xetex.pl9
2 files changed, 9 insertions, 4 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 1c8d7ea8da6..46344bf0a9c 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -326,10 +326,6 @@ if (!$opt_custom_bin && (platform() eq "i386-cygwin")) {
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_")) {
diff --git a/Master/tlpkg/tlpostcode/xetex.pl b/Master/tlpkg/tlpostcode/xetex.pl
index 7e9bd27f57f..e996e39fb49 100644
--- a/Master/tlpkg/tlpostcode/xetex.pl
+++ b/Master/tlpkg/tlpostcode/xetex.pl
@@ -68,6 +68,15 @@ if (win32()) {
info("Running fc-cache -v -r\n");
log(`fc-cache -v -r 2>&1`);
#system("fc-cache","-v", "-r");
+} else {
+ # cygwin specific warning
+ # we don't have platform available ...
+ chomp(my $un = `uname`);
+ if ($un =~ m/cygwin/) {
+ if (! -r "/usr/bin/cygfontconfig-1.dll") {
+ printf STDERR "\nXeTeX on Cygwin requires fontconfig.\nPlease run cygwin's setup program and install the fontconfig package.\n";
+ }
+ }
}
### Local Variables: