summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpostcode
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-18 06:50:44 +0000
committerNorbert Preining <preining@logic.at>2009-06-18 06:50:44 +0000
commitc51ea29e508c2b3ade04ead660e738f1c624dc95 (patch)
tree66a5a280e4df8f4c1e7736740ef726c1d5108739 /Master/tlpkg/tlpostcode
parentf1a02e4ae27a800ca2e3997cfc6f5eb20bb1dd88 (diff)
move the conf/cache stuff into xetex.win32 binary package, and adjust
the postaction code for the new location git-svn-id: svn://tug.org/texlive/trunk@13807 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpostcode')
-rw-r--r--Master/tlpkg/tlpostcode/xetex.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/tlpkg/tlpostcode/xetex.pl b/Master/tlpkg/tlpostcode/xetex.pl
index 9a47f8898ab..2ac468358e7 100644
--- a/Master/tlpkg/tlpostcode/xetex.pl
+++ b/Master/tlpkg/tlpostcode/xetex.pl
@@ -27,7 +27,7 @@ use TeXLive::TLUtils qw(win32 mkdirhier conv_to_w32_path log info);
#
# bin-installs font-config related stuff
chomp( my $texmfsysvar = `kpsewhich -var-value=TEXMFSYSVAR` ) ;
-if (-r "$texdir/bin/win32/conf/fonts.conf") {
+if (-r "$texdir/bin/win32/xetex.exe") {
# we have installed w32, so put it into texmfsysvar
mkdirhier("$texmfsysvar/fonts");
TeXLive::TLUtils::rmtree("$texmfsysvar/fonts/conf");
@@ -39,16 +39,16 @@ if (-r "$texdir/bin/win32/conf/fonts.conf") {
push @cpycmd, "cp", "-R";
}
system(@cpycmd,
- (win32() ? conv_to_w32_path("$texdir/bin/win32/conf") :
- "$texdir/bin/win32/conf"),
+ (win32() ? conv_to_w32_path("$texdir/tlpkg/tlpostcode/xetex/conf") :
+ "$texdir/tlpkg/tlpostcode/xetex/conf"),
(win32() ? conv_to_w32_path("$texmfsysvar/fonts/conf") :
"$texmfsysvar/fonts/conf"));
system(@cpycmd,
- (win32() ? conv_to_w32_path("$texdir/bin/win32/cache") :
- "$texdir/bin/win32/cache"),
+ (win32() ? conv_to_w32_path("$texdir/tlpkg/tlpostcode/xetex/cache") :
+ "$texdir/tlpkg/tlpostcode/xetex/cache"),
(win32() ? conv_to_w32_path("$texmfsysvar/fonts/cache") :
"$texmfsysvar/fonts/cache"));
- if (open(FONTSCONF, "<$texdir/bin/win32/conf/fonts.conf")) {
+ if (open(FONTSCONF, "<$texdir/tlpkg/tlpostcode/xetex/conf/fonts.conf")) {
my @lines = <FONTSCONF>;
close(FONTSCONF);
if (open(FONTSCONF, ">$texmfsysvar/fonts/conf/fonts.conf")) {
@@ -67,7 +67,7 @@ if (-r "$texdir/bin/win32/conf/fonts.conf") {
warn("Cannot open $texmfsysvar/fonts/conf/fonts.conf for writing\n");
}
} else {
- warn("Cannot open $texdir/bin/win32/conf/fonts.conf\n");
+ warn("Cannot open $texdir/tlpkg/tlpostcode/xetex/conf/fonts.conf\n");
}
}
# call fc-cache but only when we install on w32!