#
# This script will advise the user of the needed steps to 
# configure TeXLive and to have TeXLive included in PATH
#
case "${ACTION}" in
post)
   cd /opt/texlive-installer
   ./install-tl -profile void.profile	    

    	
    cat << _EOF
=====================================================================

- TeXLive is free software see the files:

  /usr/share/licenses/texlive-bin/LICENSE.TL
  /usr/share/licenses/texlive-bin/LICENSE.CTAN

=====================================================================

  This package sets the location of TeXLive binary using the file: 
  /etc/profile.d/texlive.sh.

  see  http://www.tug.org/texlive/quickinstall.html for details 

  Check if your PATH is update correctly with:

  $ printenv

  You may need to reboot to ensure that PATH is update correctly,
  for the impatients, if you want you can type

  $ source /etc/profile

  and check the PATH.

=====================================================================

  To update you TeXLive installation use only the program 

  /opt/texlive/${VERSION}/<arch>/tlmgr.

  where <arch> is:
    - X86_64-linux  ==> x86_64 architecture
    - i386-linux    ==> i386 architecture

  see:

  http://www.tug.org/texlive/doc/tlmgr.html#EXAMPLES
  
  for the details and the documentation in 
    		 		 
  WARNING: To avoid messing up your TeXLive installation, DON'T use
  the installation scripts in /opt/texlive-installer.

=====================================================================
_EOF
    ;;
esac

