[latex3-commits] [l3svn] r6128 - Test for TL install by program not dir existence
noreply at latex-project.org
noreply at latex-project.org
Wed Sep 30 07:44:40 CEST 2015
Author: joseph
Date: 2015-09-30 07:44:40 +0200 (Wed, 30 Sep 2015)
New Revision: 6128
Modified:
trunk/texlive.sh
Log:
Test for TL install by program not dir existence
Modified: trunk/texlive.sh
===================================================================
--- trunk/texlive.sh 2015-09-30 05:37:22 UTC (rev 6127)
+++ trunk/texlive.sh 2015-09-30 05:44:40 UTC (rev 6128)
@@ -7,7 +7,8 @@
# required
# See if there is a cached verson of TL available
-if [ -d "/tmp/texlive" ]; then
+export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
+if command -v texlua > /dev/null; then
echo "Cache found: skipping TL installation"
exit 0
fi
@@ -31,7 +32,6 @@
EOF
./install-tl --profile=./texlive.profile
-export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
# Core requirements for the test system
tlmgr install babel babel-english latex latex-bin latex-fonts latexconfig xetex
More information about the latex3-commits
mailing list