mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[tex] Index packages after installation
This commit is contained in:
parent
485bfb0a78
commit
90ba725157
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue