case "${ACTION}" in
post)
    cd /opt/texlive2013-installer

    if [ -f /opt/texlive/2013/texmf-var/web2c/fmtutil.cnf ]; then
        cat << _EOF
=====================================================================

It seems you already have TeXLive 2013 installed.

Remove /opt/texlive/2013/texmf-var/web2c/fmtutil.cnf and reinstall
to force downloading TeXLive again.

_EOF
    else
      ./install-tl -repository ftp://ftp.tug.org/texlive/historic/2013/tlnet-final/ -profile void.profile	    
    fi
    ;;
esac

