[Lunar-commits] <moonbase-other> luatex: simplify luatex symlink handling

v4hn me at v4hn.de
Wed Apr 17 21:27:14 CEST 2013


commit e91c4fa3e5aa94605696f5f392824b32acc7ac36
Author: v4hn <me at v4hn.de>
Date: Wed, 17 Apr 2013 12:26:06 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/e91c4fa3e5aa94605696f5f392824b32acc7ac36

luatex: simplify luatex symlink handling
---
  doc-tools/luatex/BUILD        | +7/-9     
  doc-tools/luatex/POST_INSTALL | +0/-3     
  doc-tools/luatex/POST_REMOVE  | +0/-2     
  3 files changed, 7 insertions(+), 14 deletions(-)

--- a/doc-tools/luatex/BUILD
+++ b/doc-tools/luatex/BUILD
@@ -1,12 +1,10 @@
-(
+# From http://www.gentoo-portage.com/dev-tex/luatex
+export LC_ALL=C  &&
 
-  # From http://www.gentoo-portage.com/dev-tex/luatex
-  export LC_ALL=C  &&
+prepare_install  &&
+./build.sh  &&
 
-  prepare_install  &&
-  ./build.sh  &&
+# Install executable
+install -m755 build/texk/web2c/luatex /usr/bin/ &&
 
-  # Install executable
-  install -m755 build/texk/web2c/luatex /usr/bin/
-
-) > $C_FIFO 2>&1
+ln -s luatex /usr/bin/lualatex
--- a/doc-tools/luatex/POST_INSTALL
+++ b/doc-tools/luatex/POST_INSTALL
@@ -1,7 +1,4 @@
 if [ -x /usr/bin/fmtutil-sys ] ; then
         # fmtutil-sys and texlinks are installed by texlive
         fmtutil-sys --missing --quiet --all > /dev/null
-
-        # Create symlink:  /usr/bin/lualatex -> luatex
-        texlinks -q
 fi
--- a/doc-tools/luatex/POST_REMOVE
+++ /dev/null
@@ -1,2 +0,0 @@
-# Remove dangling symlink created by texlinks
-rm -f /usr/bin/lualatex




More information about the Lunar-commits mailing list