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
|
||||
fmtutil=usr/bin/fmtutil-sys
|
||||
optional_engines="luahbtex,luajithbtex,luajittex,luatex,xetex"
|
||||
|
||||
case "$ACTION" in
|
||||
targets)
|
||||
|
@ -28,7 +29,8 @@ run)
|
|||
fi
|
||||
if [ -x ${fmtutil} ]; then
|
||||
echo "Updating texmf-dist formats..."
|
||||
${fmtutil} --all >/dev/null || true
|
||||
${fmtutil} --no-error-if-no-engine="${optional_engines}" \
|
||||
--quiet --all >/dev/null || true
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.115
|
||||
version=0.116
|
||||
revision=1
|
||||
archs=noarch
|
||||
bootstrap=yes
|
||||
|
|
Loading…
Reference in a new issue