diff --git a/recipes/tex b/recipes/tex index 9e89d1a..e71301f 100644 --- a/recipes/tex +++ b/recipes/tex @@ -5,6 +5,7 @@ set -e __tex_init="tlmgr init-usertree" __tex_info="tlmgr --usermode info --only-installed" __tex_install="tlmgr --usermode install" +__tex_index="texhash" case "$_PLATFORM" in darwin) @@ -50,7 +51,7 @@ case "$_PLATFORM" in _apt xzdec esac -$__tex_init 2>/dev/null || /bin/true +_run "[tex] Initializing user database" $__tex_init 2>/dev/null || /bin/true function _tex { local pkg=$1 @@ -87,3 +88,5 @@ _tex tufte-latex _recipe git _tex_git dnd https://github.com/evanbergeron/DND-5e-LaTeX-Template.git _tex_git trek https://github.com/lancelet/beamer-trek.git theme + +_run "[tex] Indexing packages" $__tex_index