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
|
|
|
|
|
|
|
$ sudo source /etc/profile
|
|
|
|
|
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
|
|
|
|
|
|
|
|
/opt/texlive/????/<arch>/tlmgr.
|
|
|
|
|
|
|
|
where the ???? is the TeXLive version and <arch> is:
|
|
|
|
- X86_64-linux ==> voidlinux X86_64 architecture
|
|
|
|
- i386-linux ==> voidlinux 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.
|
2014-04-30 11:20:25 +02:00
|
|
|
|
|
|
|
=====================================================================
|
|
|
|
_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|