summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-06-13 11:45:54 +0000
committerNorbert Preining <preining@logic.at>2008-06-13 11:45:54 +0000
commitece045e230c1f00922d7f427b68f5b51fc84e088 (patch)
treeffda7dbac0cffa6c13c526d0c7c5e1aae0f0f319 /Master
parent3e8ef1546b7ea91ed51a68a67289850f24d0e6d5 (diff)
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
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLPostActions.pm4
1 files changed, 4 insertions, 0 deletions
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");