wok-current rev 25652
Fix get-texlive for 2008 version, add collection-latex
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Feb 07 18:01:05 2024 +0000 (10 months ago) |
parents | 6af4e6ead7e0 |
children | aada6db9da8e |
files | get-texlive/stuff/get-texlive |
line diff
1.1 --- a/get-texlive/stuff/get-texlive Fri Feb 02 18:24:50 2024 +0000 1.2 +++ b/get-texlive/stuff/get-texlive Wed Feb 07 18:01:05 2024 +0000 1.3 @@ -9,7 +9,7 @@ 1.4 SOURCE="install-tl" 1.5 TARBALL="$SOURCE-unx.tar.gz" 1.6 WEB_SITE="http://www.tug.org/$PACKAGE/" 1.7 -WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$TARBALL" 1.8 +WGET_URL="ftp://ftp.math.utah.edu/pub/tex/historic/systems/$PACKAGE/2008/tlnet/$TARBALL" 1.9 ROOT="$1" 1.10 1.11 # Check if we are root 1.12 @@ -51,7 +51,7 @@ 1.13 fi 1.14 1.15 tar -xzf $TARBALL 1.16 -VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||' | tr -cd '0-9')" 1.17 +VERSION="$(grep 'texlive-' $SOURCE*/release-texlive.txt | tr -cd '0-9')" 1.18 1.19 # extracted pkg can be removed: Save RAM before packing 1.20 rm -rf $TARBALL 1.21 @@ -74,6 +74,7 @@ 1.22 TEXMFSYSCONFIG $PREFIX/$VERSION/texmf-config 1.23 TEXMFSYSVAR $PREFIX/$VERSION/texmf-var 1.24 collection-basic 1 1.25 +collection-latex 1 1.26 option_doc 0 1.27 option_fmt 1 1.28 option_letter 0 1.29 @@ -83,7 +84,7 @@ 1.30 1.31 # some mirrors are too slow, if so, add this option: 1.32 # -location ftp://ftp.inria.fr/pub/TeX/CTAN/systems/texlive/tlnet/2008/ 1.33 -./install-tl -profile slitaz.profile 1.34 +./install-tl -profile slitaz.profile -location ftp://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2008/tlnet/tlpkg/ 1.35 1.36 cd "$TMP/$SOURCE" 1.37