wok-6.x rev 2831
get-texlive: fix typo
author | Pierre-Jean Fichet <sygne@ombres.eu> |
---|---|
date | Thu Apr 30 10:17:12 2009 +0000 (2009-04-30) |
parents | 8c06182baa15 |
children | fdfadcb4b1d9 |
files | get-texlive/stuff/get-texlive |
line diff
1.1 --- a/get-texlive/stuff/get-texlive Thu Apr 30 10:10:02 2009 +0000 1.2 +++ b/get-texlive/stuff/get-texlive Thu Apr 30 10:17:12 2009 +0000 1.3 @@ -13,14 +13,14 @@ 1.4 WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$VERSION/$TARBALL" 1.5 ROOT="$1" 1.6 1.7 - Check if we are root 1.8 +# Check if we are root 1.9 if test $(id -u) != 0 ; then 1.10 echo -e "\nYou must be root to run `basename $0`." 1.11 echo -e "Please use 'su' and root password to become super-user.\n" 1.12 exit 0 1.13 fi 1.14 1.15 - Avoid reinstall 1.16 +# Avoid reinstall 1.17 if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then 1.18 echo -e "\n$PKG package is already installed.\n" 1.19 exit 0