summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-06-14 12:45:54 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-06-14 12:45:54 +0000
commit4b7224dc47b0790f7dcdfdbc3778e2249b524bcf (patch)
tree586f29b73a64be0934f0906bc6ce5110ebfc1883
parent10846936b850788ccbc8f2337e9fd53fdf5d585a (diff)
Hack for xetex/fc-cache under from_dvd option
git-svn-id: svn://tug.org/texlive/trunk@8728 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLPostActions.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPostActions.pm b/Master/tlpkg/TeXLive/TLPostActions.pm
index 092b8864ad4..62cf9141260 100644
--- a/Master/tlpkg/TeXLive/TLPostActions.pm
+++ b/Master/tlpkg/TeXLive/TLPostActions.pm
@@ -73,6 +73,9 @@ sub do_install_bin_xetex {
foreach (@lines) {
$_ =~ s!c:/Program Files/texlive/2008!$texdir!;
$_ =~ s!c:/windows/fonts!$winfontdir! if win32();
+ # hack around fc-cache problem in from_dvd case:
+ if (win32() and (uc($texdir) ne uc($texdirw)) and
+ ($_ =~ m!^<dir>.*texmf-dist.*</dir>!)) { $_ = '<!-- '.$_.' -->'; }
print FONTSCONF;
}
close(FONTSCONF);