summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive')
-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");