# HG changeset patch # User Pierre-Jean Fichet # Date 1241086632 0 # Node ID aaea09f5ebb3bbd98a718266513e8de07fd1b7da # Parent 8c06182baa15607c12f5ac83638cbb5e9f027862 get-texlive: fix typo diff -r 8c06182baa15 -r aaea09f5ebb3 get-texlive/stuff/get-texlive --- a/get-texlive/stuff/get-texlive Thu Apr 30 10:10:02 2009 +0000 +++ b/get-texlive/stuff/get-texlive Thu Apr 30 10:17:12 2009 +0000 @@ -13,14 +13,14 @@ WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$VERSION/$TARBALL" ROOT="$1" - Check if we are root +# Check if we are root if test $(id -u) != 0 ; then echo -e "\nYou must be root to run `basename $0`." echo -e "Please use 'su' and root password to become super-user.\n" exit 0 fi - Avoid reinstall +# Avoid reinstall if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then echo -e "\n$PKG package is already installed.\n" exit 0