From 4b7224dc47b0790f7dcdfdbc3778e2249b524bcf Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Sat, 14 Jun 2008 12:45:54 +0000 Subject: Hack for xetex/fc-cache under from_dvd option git-svn-id: svn://tug.org/texlive/trunk@8728 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPostActions.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master/tlpkg/TeXLive/TLPostActions.pm') 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!^.*texmf-dist.*!)) { $_ = ''; } print FONTSCONF; } close(FONTSCONF); -- cgit v1.2.3