From e91c4fa3e5aa94605696f5f392824b32acc7ac36 Mon Sep 17 00:00:00 2001 From: v4hn Date: Wed, 17 Apr 2013 21:26:06 +0200 Subject: [PATCH] luatex: simplify luatex symlink handling --- doc-tools/luatex/BUILD | 16 +++++++--------- doc-tools/luatex/POST_INSTALL | 3 --- doc-tools/luatex/POST_REMOVE | 2 -- 3 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 doc-tools/luatex/POST_REMOVE diff --git a/doc-tools/luatex/BUILD b/doc-tools/luatex/BUILD index c8500d00b76..ed56d3ecbb3 100644 --- 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 diff --git a/doc-tools/luatex/POST_INSTALL b/doc-tools/luatex/POST_INSTALL index fbaee4ce1e4..ce1428437b4 100644 --- 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 diff --git a/doc-tools/luatex/POST_REMOVE b/doc-tools/luatex/POST_REMOVE deleted file mode 100644 index 48d74954db4..00000000000 --- a/doc-tools/luatex/POST_REMOVE +++ /dev/null @@ -1,2 +0,0 @@ -# Remove dangling symlink created by texlinks -rm -f /usr/bin/lualatex