From 170d9145496f356a29a398a24f9fd984bb4372e2 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Wed, 6 Jul 2022 08:55:45 -0500 Subject: [PATCH] close #377: do not define the TEXMFHOME variable, but just respect TeX Live's default TEXMFHOME setting (https://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-250003.2.3) --- tools/install-base.sh | 2 -- tools/install-windows.bat | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/install-base.sh b/tools/install-base.sh index 270aa5309..ee3ed2410 100755 --- a/tools/install-base.sh +++ b/tools/install-base.sh @@ -21,7 +21,6 @@ else # case we personalize texmf variables if [ "$1" = '--admin' ]; then echo 'TEXMFCONFIG $HOME/.TinyTeX/texmf-config' >> $PRNAME - echo 'TEXMFHOME $HOME/.TinyTeX/texmf-home' >> $PRNAME echo 'TEXMFVAR $HOME/.TinyTeX/texmf-var' >> $PRNAME else mkdir -p $HOME/bin @@ -32,7 +31,6 @@ fi # no need to personalize texmf variables if not installed by admin if [ "$1" != '--admin' ]; then echo 'TEXMFCONFIG $TEXMFSYSCONFIG' >> $PRNAME - echo 'TEXMFHOME ./texmf-home' >> $PRNAME echo 'TEXMFVAR $TEXMFSYSVAR' >> $PRNAME fi diff --git a/tools/install-windows.bat b/tools/install-windows.bat index 4922e8dc5..b0350e15b 100755 --- a/tools/install-windows.bat +++ b/tools/install-windows.bat @@ -24,7 +24,6 @@ powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.Security powershell -Command "(gc tinytex.profile) -replace '\./', './TinyTeX/' | Out-File -encoding ASCII tinytex.profile" echo TEXMFCONFIG $TEXMFSYSCONFIG>> tinytex.profile -echo TEXMFHOME ./TinyTeX/texmf-home>> tinytex.profile echo TEXMFVAR $TEXMFSYSVAR>> tinytex.profile rem download the custom package list