summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-07-31 10:35:04 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-07-31 10:35:04 +0000
commit9cbcfe2e86f0af1f829a9e9bbce9e39bae52cda8 (patch)
treea1f0b76c71c8e420cba773493878c565cb8ad8f0 /Master/tlpkg
parentf4b48a2ab5812173f04f23f87d236cf320aa77c8 (diff)
TLPostActions for xetex: clean out fonts/conf and fonts/cache to
prevent copying to .../conf/conf/... git-svn-id: svn://tug.org/texlive/trunk@9930 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLPostActions.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPostActions.pm b/Master/tlpkg/TeXLive/TLPostActions.pm
index 49342015d7f..2000b477917 100644
--- a/Master/tlpkg/TeXLive/TLPostActions.pm
+++ b/Master/tlpkg/TeXLive/TLPostActions.pm
@@ -48,7 +48,7 @@ sub do_install_bin_context {
}
#
# That has to be sorted out and maybe changed at a later time, so do NOT
-# enable that for now.
+# enable that for now.
###$PostInstall{"bin-context"} = \&do_install_bin_context;
@@ -59,7 +59,7 @@ sub do_install_luatex {
#
# SEE ABOVE
# $PostInstall{"luatex"} = \&do_install_luatex;
-
+
# xetex
#
@@ -76,6 +76,8 @@ sub do_install_xetex {
if (-r "$texdir/bin/win32/conf/fonts.conf") {
# we have installed win32, so put it into texmfsysvar
mkdirhier("$texmfsysvar/fonts");
+ TeXLive::TLUtils::rmtree("$texmfsysvar/fonts/conf");
+ TeXLive::TLUtils::rmtree("$texmfsysvar/fonts/cache");
my @cpycmd;
if (win32()) {
push @cpycmd, "xcopy", "/e", "/i", "/q", "/y";