[Lunar-commits] <moonbase> texlive: more love for luatex
Paul Bredbury
brebs at lunar-linux.org
Wed Jan 12 16:57:25 CET 2011
commit 65ff9cf96807d3e70032558b70dc0584ad7ae00a
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Wed Jan 12 22:57:25 2011 +0700
texlive: more love for luatex
Having required executables that change package ownership, is not fun.
Also fixing 2 strange error messages that dveatch had.
---
zbeta/texlive/POST_INSTALL | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/zbeta/texlive/POST_INSTALL b/zbeta/texlive/POST_INSTALL
index f27ab53..b5783f8 100644
--- a/zbeta/texlive/POST_INSTALL
+++ b/zbeta/texlive/POST_INSTALL
@@ -4,7 +4,15 @@ updmap-sys --quiet --syncwithtrees
# Hint from https://bbs.archlinux.org/viewtopic.php?pid=607603
# Prevent error message: Fatal format file error; I'm stymied
-# Uses /usr/bin/luatex from luatex module (since 10-Jan-2011).
-if [ -x /usr/bin/luatex ] ; then
- fmtutil-sys --quiet --all > /dev/null
+# fmtutil-sys needs /usr/bin/luatex from luatex module (since 10-Jan-2011).
+if [ ! -x /usr/bin/luatex ] || [ ! -x /usr/bin/lualatex ] ; then
+ # /usr/bin/luatex changed ownership from texlive to luatex module.
+ lin -c luatex
fi
+
+# Running "--missing" first, to fix these 2 errors:
+# tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found (ls-R missing?).
+# fmtutil: config file `fmtutil.cnf' not found.
+fmtutil-sys --quiet --missing
+# "--all" is the important command.
+fmtutil-sys --quiet --all > /dev/null
More information about the Lunar-commits
mailing list