From 90ba7251575e97e794845316efcde85e094baf7a Mon Sep 17 00:00:00 2001 From: Correl Date: Tue, 2 May 2023 12:09:52 -0400 Subject: [PATCH] [tex] Index packages after installation --- recipes/tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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