1
0
chezmoi/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl

18 lines
298 B
Cheetah
Raw Normal View History

2024-05-07 21:17:46 +00:00
#!{{ lookPath "bash" }}
2024-03-05 21:47:14 +00:00
2024-08-03 15:21:54 +00:00
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
2024-03-05 21:47:14 +00:00
2024-03-08 18:26:18 +00:00
# Environment variables
TEXMFDIR=${HOME}/texmf/tex/latex
2024-08-02 14:33:15 +00:00
{{- if (ne .hasLatex false) }}
2024-08-03 15:21:54 +00:00
log "Begin LaTeX repo initialization"
2024-03-05 21:47:14 +00:00
2024-08-03 15:21:54 +00:00
texhash "${TEXMFDIR}"
2024-03-05 21:47:14 +00:00
2024-08-03 15:21:54 +00:00
log "Finish LaTeX repo initialization"
{{ end -}}
2024-03-05 21:47:14 +00:00