mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
xbps-triggers: silence warnings, unhelpful errors in texmf-dist
The texmf-dist trigger produces warnings about missing inifiles that are suppressed by adding the `--quiet` command-line argument. However, this still leaves errors about missing engines when texlive package are installed without texlive-LuaTeX and texlive-XeTeX. The command-line option `--no-error-if-no-engine` is used to suppress these errors about missing optional components.
This commit is contained in:
parent
c9b1b7d2bb
commit
5c11bf627d
2 changed files with 4 additions and 2 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
|
||||||
|
optional_engines="luahbtex,luajithbtex,luajittex,luatex,xetex"
|
||||||
|
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
targets)
|
targets)
|
||||||
|
@ -28,7 +29,8 @@ run)
|
||||||
fi
|
fi
|
||||||
if [ -x ${fmtutil} ]; then
|
if [ -x ${fmtutil} ]; then
|
||||||
echo "Updating texmf-dist formats..."
|
echo "Updating texmf-dist formats..."
|
||||||
${fmtutil} --all >/dev/null || true
|
${fmtutil} --no-error-if-no-engine="${optional_engines}" \
|
||||||
|
--quiet --all >/dev/null || true
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.115
|
version=0.116
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue