up
This commit is contained in:
20
home/.chezmoiscripts/run_once_after_50-latex-config.sh.tmpl
Normal file
20
home/.chezmoiscripts/run_once_after_50-latex-config.sh.tmpl
Normal file
@@ -0,0 +1,20 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="LaTeX repo cloning"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
# Environment variables
|
||||
TEXMFDIR=${HOME}/texmf/tex/latex
|
||||
|
||||
|
||||
{{- if (ne .hasLatex false) }}
|
||||
log "Begin ${title}"
|
||||
|
||||
texhash "${TEXMFDIR}"
|
||||
|
||||
log "${title} done"
|
||||
{{ end -}}
|
||||
|
||||
Reference in New Issue
Block a user