#!/bin/sh # $Id$ # Try a TL installation with various profiles into /tmp/ki. Public domain. renice 20 $$ >&/dev/null cd $HOME || exit 1 # don't let cwd interfere instdir=/tmp/ki # in .pro files too rm -rf $instdir* && echo "removed $instdir*." # make installations quieter. TEXLIVE_INSTALL_ENV_NOCHECK=1; export TEXLIVE_INSTALL_ENV_NOCHECK TEXLIVE_INSTALL_NO_WELCOME=1; export TEXLIVE_INSTALL_NO_WELCOME # some director mydir=`cd \`dirname "$0"\` && pwd` # Master/tlpkg/bin Master=`cd $mydir/../.. && pwd` # thisrel=/usr/local/texlive/`date +%Y` # not necessarily, but whatever prevrel=/usr/local/texlive/`expr "$(date +%Y)" - 1` pro=--profile=$Master/tlpkg/dev/profiles/TLspace.pro #infra min small ... exec time $Master/install-tl $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 exec time $thisrel/install-tl $pro exec time $prevrel/install-tl $pro exit $? # above are just assorted invocations that have been useful from time to # time, nothing magic. do what's needed. # # $lp = pretest, /home/ftp/texlive/tlpretest on tug.org. # $ln = tlnet, /home/ftp/texlive/tlnet on tug.org.