# HG changeset patch # User Stanislas Leduc # Date 1707328865 0 # Node ID b44c7dd8bb4bfee8a834f3ffc614573334a44064 # Parent 6af4e6ead7e03f1081eb4cc1cefbe19f1130cb19 Fix get-texlive for 2008 version, add collection-latex diff -r 6af4e6ead7e0 -r b44c7dd8bb4b get-texlive/stuff/get-texlive --- a/get-texlive/stuff/get-texlive Fri Feb 02 18:24:50 2024 +0000 +++ b/get-texlive/stuff/get-texlive Wed Feb 07 18:01:05 2024 +0000 @@ -9,7 +9,7 @@ SOURCE="install-tl" TARBALL="$SOURCE-unx.tar.gz" WEB_SITE="http://www.tug.org/$PACKAGE/" -WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$TARBALL" +WGET_URL="ftp://ftp.math.utah.edu/pub/tex/historic/systems/$PACKAGE/2008/tlnet/$TARBALL" ROOT="$1" # Check if we are root @@ -51,7 +51,7 @@ fi tar -xzf $TARBALL -VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||' | tr -cd '0-9')" +VERSION="$(grep 'texlive-' $SOURCE*/release-texlive.txt | tr -cd '0-9')" # extracted pkg can be removed: Save RAM before packing rm -rf $TARBALL @@ -74,6 +74,7 @@ TEXMFSYSCONFIG $PREFIX/$VERSION/texmf-config TEXMFSYSVAR $PREFIX/$VERSION/texmf-var collection-basic 1 +collection-latex 1 option_doc 0 option_fmt 1 option_letter 0 @@ -83,7 +84,7 @@ # some mirrors are too slow, if so, add this option: # -location ftp://ftp.inria.fr/pub/TeX/CTAN/systems/texlive/tlnet/2008/ -./install-tl -profile slitaz.profile +./install-tl -profile slitaz.profile -location ftp://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2008/tlnet/tlpkg/ cd "$TMP/$SOURCE"