mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
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
2 changed files with 8 additions and 1 deletions
|
@ -16,6 +16,7 @@ UPDATE="$5"
|
||||||
|
|
||||||
texhash=usr/bin/texhash
|
texhash=usr/bin/texhash
|
||||||
fmtutil=usr/bin/fmtutil-sys
|
fmtutil=usr/bin/fmtutil-sys
|
||||||
|
updmap=usr/bin/updmap-sys
|
||||||
optional_engines="luahbtex,luajithbtex,luajittex,luatex,xetex"
|
optional_engines="luahbtex,luajithbtex,luajittex,luatex,xetex"
|
||||||
|
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
|
@ -32,6 +33,12 @@ run)
|
||||||
${fmtutil} --no-error-if-no-engine="${optional_engines}" \
|
${fmtutil} --no-error-if-no-engine="${optional_engines}" \
|
||||||
--quiet --all >/dev/null || true
|
--quiet --all >/dev/null || true
|
||||||
fi
|
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
|
exit 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.118
|
version=0.119
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="XBPS triggers for Void Linux"
|
short_desc="XBPS triggers for Void Linux"
|
||||||
|
|
Loading…
Add table
Reference in a new issue