xbps-triggers: add updmap to texmf trigger.
On some texlive installations, without a rebuild of the database, new/removed fonts will cease to work correctly, potentially breaking the entire installation in some cases.
This commit is contained in:
parent
a1531952a5
commit
8462fa73e4
|
@ -16,6 +16,7 @@ UPDATE="$5"
|
|||
|
||||
texhash=usr/bin/texhash
|
||||
fmtutil=usr/bin/fmtutil-sys
|
||||
updmap=usr/bin/updmap-sys
|
||||
optional_engines="luahbtex,luajithbtex,luajittex,luatex,xetex"
|
||||
|
||||
case "$ACTION" in
|
||||
|
@ -32,6 +33,12 @@ run)
|
|||
${fmtutil} --no-error-if-no-engine="${optional_engines}" \
|
||||
--quiet --all >/dev/null || true
|
||||
fi
|
||||
if [ -x ${updmap} ]; then
|
||||
echo "Syncing font map files..."
|
||||
yes y | ${updmap} --quiet --syncwithtrees >/dev/null
|
||||
echo "Updating font map files..."
|
||||
${updmap} --quiet >/dev/null
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.118
|
||||
version=0.119
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
short_desc="XBPS triggers for Void Linux"
|
||||
|
|
Loading…
Reference in New Issue