Permalink
Browse files

luatex: simplify luatex symlink handling

  • Loading branch information...
1 parent c2492f7 commit e91c4fa3e5aa94605696f5f392824b32acc7ac36 @v4hn v4hn committed Apr 17, 2013
Showing with 7 additions and 14 deletions.
  1. +7 −9 doc-tools/luatex/BUILD
  2. +0 −3 doc-tools/luatex/POST_INSTALL
  3. +0 −2 doc-tools/luatex/POST_REMOVE
View
@@ -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
@@ -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
@@ -1,2 +0,0 @@
-# Remove dangling symlink created by texlinks
-rm -f /usr/bin/lualatex

0 comments on commit e91c4fa

Please sign in to comment.