[Lunar-commits] <moonbase> texlive: fix dual-ownership of symlinks

Paul Bredbury brebs at lunar-linux.org
Thu Jan 13 17:00:19 CET 2011


commit 1c7f7e924a1ac508b6242632541f308eea5677fb
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Thu Jan 13 23:00:19 2011 +0700

    texlive: fix dual-ownership of symlinks
---
 zbeta/texlive/BUILD        |    3 ---
 zbeta/texlive/POST_INSTALL |    7 +++++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/zbeta/texlive/BUILD b/zbeta/texlive/BUILD
index cab737b..d74de01 100644
--- a/zbeta/texlive/BUILD
+++ b/zbeta/texlive/BUILD
@@ -37,9 +37,6 @@
 
   default_build  &&
 
-  # Create symlinks in /usr/bin/, for e.g. pdflatex
-  texlinks -q  &&
-
   # Idea from http://repos.archlinux.org/wsvn/packages/texlive-bin/trunk/
   install -m644 $SOURCE_CACHE/$SOURCE3 /etc/fonts/conf.d/09-texlive-fonts.conf
 
diff --git a/zbeta/texlive/POST_INSTALL b/zbeta/texlive/POST_INSTALL
index b5783f8..920f410 100644
--- a/zbeta/texlive/POST_INSTALL
+++ b/zbeta/texlive/POST_INSTALL
@@ -1,3 +1,10 @@
+# Create symlinks in /usr/bin/, for e.g. pdflatex and lualatex.
+# Is not inside BUILD, to prevent /usr/bin/lualatex dual-ownership.
+texlinks -q
+
+# Fixes "can't find foo.{tex,sty}" errors
+mktexlsr --quiet
+
 # From http://tug.org/pipermail/tlbuild/2010q2/001606.html
 # Comments out comicvn.map and mscorevn.map from /usr/share/texmf-config/web2c/updmap.cfg
 updmap-sys --quiet --syncwithtrees


More information about the Lunar-commits mailing list