2014-04-30 11:20:25 +02:00
|
|
|
#
|
2014-04-30 15:36:17 +02:00
|
|
|
# This script will advise the user of the needed steps to
|
|
|
|
# configure TeXLive and to have TeXLive included in PATH
|
2014-04-30 11:20:25 +02:00
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2014-04-30 15:36:17 +02:00
|
|
|
cd /opt/texlive-installer
|
|
|
|
./install-tl -profile void.profile
|
2014-04-30 11:20:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
cat << _EOF
|
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
- TeXLive is free software see the files:
|
|
|
|
|
2014-04-30 15:36:17 +02:00
|
|
|
/usr/share/licenses/texlive-bin/LICENSE.TL
|
|
|
|
/usr/share/licenses/texlive-bin/LICENSE.CTAN
|
2014-04-30 11:20:25 +02:00
|
|
|
|
2014-04-30 15:36:17 +02:00
|
|
|
=====================================================================
|
2014-04-30 11:20:25 +02:00
|
|
|
|
2014-04-30 15:36:17 +02:00
|
|
|
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
|
2014-04-30 11:20:25 +02:00
|
|
|
|
2014-04-30 17:44:20 +02:00
|
|
|
$ source /etc/profile
|
2014-04-30 11:20:25 +02:00
|
|
|
|
2014-04-30 15:36:17 +02:00
|
|
|
and check the PATH.
|
2014-04-30 11:20:25 +02:00
|
|
|
|
2014-04-30 15:36:17 +02:00
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
To update you TeXLive installation use only the program
|
|
|
|
|
2014-04-30 17:44:20 +02:00
|
|
|
/opt/texlive/${VERSION}/<arch>/tlmgr.
|
2014-04-30 15:36:17 +02:00
|
|
|
|
2014-04-30 17:44:20 +02:00
|
|
|
where <arch> is:
|
|
|
|
- X86_64-linux ==> x86_64 architecture
|
|
|
|
- i386-linux ==> i386 architecture
|
2014-04-30 15:36:17 +02:00
|
|
|
|
|
|
|
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.
|
2014-04-30 11:20:25 +02:00
|
|
|
|
|
|
|
=====================================================================
|
|
|
|
_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|