[tex] Fix tlmgr db init

This commit is contained in:
Correl Roush 2023-05-02 11:20:16 -04:00
parent cbafb473b8
commit c814216b17

View file

@ -2,7 +2,7 @@
# Description: Document typesetting # Description: Document typesetting
set -e set -e
__tex_init="tlmgr init-usertree 2>/dev/null || true" __tex_init="tlmgr init-usertree"
__tex_info="tlmgr --usermode info --only-installed" __tex_info="tlmgr --usermode info --only-installed"
__tex_install="tlmgr --usermode install" __tex_install="tlmgr --usermode install"
@ -50,7 +50,7 @@ case "$_PLATFORM" in
_apt xzdec _apt xzdec
esac esac
$__tex_init $__tex_init 2>/dev/null || /bin/true
function _tex { function _tex {
local pkg=$1 local pkg=$1