From ece045e230c1f00922d7f427b68f5b51fc84e088 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 13 Jun 2008 11:45:54 +0000 Subject: fix calling conventions of TLPostActions, should fix the postinst xetex problem git-svn-id: svn://tug.org/texlive/trunk@8706 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPostActions.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Master/tlpkg/TeXLive/TLPostActions.pm b/Master/tlpkg/TeXLive/TLPostActions.pm index 6376dd4a040..6025c2867d1 100644 --- a/Master/tlpkg/TeXLive/TLPostActions.pm +++ b/Master/tlpkg/TeXLive/TLPostActions.pm @@ -35,6 +35,10 @@ sub do_install_bin_xetex { # bin-xetex installs font-config related stuff # # new version according to Staszek + if (!defined($texmfsysvar)) { + texmfsysvar = `kpsewhich -var-value=TEXMFSYSVAR`; + chomp(texmfsysvar); + } if (-r "$texdir/bin/win32/conf/fonts.conf") { # we have installed win32, so put it into texmfsysvar mkdirhier("$texmfsysvar/fonts"); -- cgit v1.2.3