[Lunar-commits] <moonbase> texlive: handle luatex changed ownership more gracefully

Duncan Gibson engelsman at lunar-linux.org
Tue Jan 11 21:25:06 CET 2011


commit 076dd67ac33de96a53fd48fa7964edcafdaaa9d7
Author: Paul Bredbury <brebs at sent.com>
Date:   Tue Jan 11 21:25:06 2011 +0100

    texlive: handle luatex changed ownership more gracefully
    
    /usr/bin/luatex changes ownership from texlive to luatex module,
    so check for its required existence first, because the package
    manager will, inconveniently, delete it, causing fmtutil-sys to
    show a ton of horrible errors.
---
 zbeta/texlive/POST_INSTALL |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/zbeta/texlive/POST_INSTALL b/zbeta/texlive/POST_INSTALL
index 6a333e3..f27ab53 100644
--- a/zbeta/texlive/POST_INSTALL
+++ b/zbeta/texlive/POST_INSTALL
@@ -4,5 +4,7 @@ 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
-fmtutil-sys --quiet --all > /dev/null
+# Uses /usr/bin/luatex from luatex module (since 10-Jan-2011).
+if [ -x /usr/bin/luatex ] ; then
+  fmtutil-sys --quiet --all > /dev/null
+fi


More information about the Lunar-commits mailing list