wok diff get-texlive/stuff/get-texlive @ rev 18417

gimp, guichan: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 10:02:55 2015 +0200 (2015-09-21)
parents 007b91d3da0b
children f56bb28aea97
line diff
     1.1 --- a/get-texlive/stuff/get-texlive	Thu Feb 25 11:52:07 2010 +0000
     1.2 +++ b/get-texlive/stuff/get-texlive	Mon Sep 21 10:02:55 2015 +0200
     1.3 @@ -2,7 +2,6 @@
     1.4  # download, pack and install a minimal texlive scheme.
     1.5  
     1.6  PACKAGE="texlive"
     1.7 -VERSION="2008"
     1.8  CATEGORY="office"
     1.9  SHORT_DESC="latex text processor"
    1.10  MAINTAINER="sygne@ombres.eu"
    1.11 @@ -10,7 +9,7 @@
    1.12  SOURCE="install-tl"
    1.13  TARBALL="$SOURCE-unx.tar.gz"
    1.14  WEB_SITE="http://www.tug.org/$PACKAGE/"
    1.15 -WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$VERSION/$TARBALL"
    1.16 +WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$TARBALL"
    1.17  ROOT="$1"
    1.18  
    1.19  # Check if we are root
    1.20 @@ -52,13 +51,14 @@
    1.21  fi
    1.22  
    1.23  tar -xzf $TARBALL
    1.24 +VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||')"
    1.25  
    1.26  # extracted pkg can be removed: Save RAM before packing
    1.27  rm -rf $TARBALL
    1.28  
    1.29  # launch texlive install script
    1.30  echo -e "\033[1;33m Launching $PACKAGE install script\033[0m" 
    1.31 -cd $SOURCE
    1.32 +cd $SOURCE*/
    1.33  PREFIX="$TMP/$SOURCE/$PACKAGE-$VERSION/fs/usr/local/$PACKAGE"
    1.34  mkdir -p $PREFIX
    1.35