From ec6223a01080b8f9b0b32ec96485be9c7f8e035f Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Fri, 8 Mar 2024 19:26:18 +0100 Subject: [PATCH] Up. --- .../run_once_after_50-finalize-latex.sh.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl b/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl index 96a8f3b..ccf66c9 100644 --- a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl @@ -11,10 +11,15 @@ inf() { +# Environment variables +TEXMFDIR=${HOME}/texmf/tex/latex + + + {{- if (ne .latex false) }} log "Begin LaTeX repo initialization" -texhash "${HOME}/texmf/tex/latex" +texhash "${TEXMFDIR}" log "Finish LaTeX repo initialization" {{ end -}}