summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-31 19:24:19 +0000
committerKarl Berry <karl@freefriends.org>2019-01-31 19:24:19 +0000
commit4603aac25e5b97e68bb866d3201a44a17f95e20c (patch)
tree824fea16cc505602044bb7038058df5601ba8d64 /Master/tlpkg/bin
parentf2eb098294c4f0ddec9a76d60f089c447dacb69e (diff)
install-tl (do_postinst_stuff): die if mktexlsr fails, don't just warn.
(read_profile): check for [01] value for binary_* and collection_*, and for nonempty selected_scheme and path variables. doc (unrelated, sorry): use https://tug.org urls. tl-try-install: use realpath to resolve $0, include --custom-bin example. TLinfra+none.pro: omit installing x86_64-linux. git-svn-id: svn://tug.org/texlive/trunk@49884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-try-install21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/tlpkg/bin/tl-try-install b/Master/tlpkg/bin/tl-try-install
index bc940d71efa..0b59df14f4c 100755
--- a/Master/tlpkg/bin/tl-try-install
+++ b/Master/tlpkg/bin/tl-try-install
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh
# $Id$
# Try a TL installation with various profiles into /tmp/ki. Public domain.
@@ -11,23 +11,26 @@ rm -rf $instdir* && echo "removed $instdir*."
#TEXLIVE_INSTALL_ENV_NOCHECK=1; export TEXLIVE_INSTALL_ENV_NOCHECK
#TEXLIVE_INSTALL_NO_WELCOME=1; export TEXLIVE_INSTALL_NO_WELCOME
-mydir=`cd \`dirname "$0"\` && pwd` # Master/tlpkg/bin
+real0=`realpath $0`
+mydir=`cd \`dirname "$real0"\` && pwd` # Master/tlpkg/bin
+echo "mydir=$mydir"
Master=`cd $mydir/../.. && pwd`
# don't let cwd or existing PATH interfere
cd "$HOME" || exit 1
PATH=/usr/local/bin:/usr/bin:/bin # /usr/local/bin for good perl on tug
-#Master=$tm #`cd $mydir/../.. && pwd`
-#
-thisrel=/usr/local/texlive/`date +%Y` # not necessarily, but whatever
-prevrel=/usr/local/texlive/`expr "$(date +%Y)" - 1`
-
-pro=--profile=${1-$Master/tlpkg/dev/profiles/TLinfra.pro} #infra min ... full
-exec time $Master/install-tl $pro
+set -x
+pro=--profile=${1-$Master/tlpkg/dev/profiles/TLinfra+none.pro} #infra min ... full
+#exec time $Master/install-tl $pro
+cust=--custom-bin=$wb
+exec time $Master/install-tl $cust $pro
exec time $lp/install-tl $pro
exec time $lp/install-tl $pro --repo ftp://ftp.cstug.cz/pub/tex/local/tlpretest
exec time $ln/install-tl $pro --repo ctan #--in-place
+
+thisrel=/usr/local/texlive/`date +%Y` # not necessarily, but whatever
+prevrel=/usr/local/texlive/`expr "$(date +%Y)" - 1`
exec time $thisrel/install-tl $pro
exec time $prevrel/install-tl $pro
exit $?