wok-6.x rev 1561

get-texlive: inform user that it will install 31Mo
author Pierre-Jean Fichet <sygne@ombres.eu>
date Mon Oct 13 14:50:22 2008 +0200 (2008-10-13)
parents a3065cacbb70
children 04a7e4dead15
files get-texlive/receipt get-texlive/stuff/get-texlive
line diff
     1.1 --- a/get-texlive/receipt	Mon Oct 13 09:25:04 2008 +0000
     1.2 +++ b/get-texlive/receipt	Mon Oct 13 14:50:22 2008 +0200
     1.3 @@ -19,7 +19,7 @@
     1.4  {
     1.5  	echo -e "
     1.6  To get texlive, run \033[1mget-texlive\033[0m as root.
     1.7 -This will install about 10 Mo of tools in /usr/local/texlive
     1.8 +This will install about 31 Mo of tools in /usr/local/texlive
     1.9  "
    1.10  }
    1.11  
     2.1 --- a/get-texlive/stuff/get-texlive	Mon Oct 13 09:25:04 2008 +0000
     2.2 +++ b/get-texlive/stuff/get-texlive	Mon Oct 13 14:50:22 2008 +0200
     2.3 @@ -12,6 +12,9 @@
     2.4  WEB_SITE="http://www.tug.org/$PACKAGE/"
     2.5  WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$VERSION/$TARBALL"
     2.6  
     2.7 +# TexLive is a big package. We must inform user.
     2.8 +PACKED_SIZE="10.7Mo"
     2.9 +UNPACKED_SIZE="31.0Mo"
    2.10  
    2.11  
    2.12  # Check if we are root
    2.13 @@ -82,6 +85,9 @@
    2.14  cat > $PACKAGE-$VERSION/receipt <<EOT
    2.15  # SliTaz package receipt.
    2.16  
    2.17 +PACKED_SIZE="$PACKED_SIZE"
    2.18 +UNPACKED_SIZE="$UNPACKED_SIZE"
    2.19 +
    2.20  PACKAGE="$PACKAGE"
    2.21  VERSION="$VERSION"
    2.22  CATEGORY="$CATEGORY"