[tex-live] Report: Mandriva 2009.1

Zdenek Wagner zdenek.wagner at gmail.com
Fri Oct 30 15:37:48 CET 2009


2009/10/30 Pavel Striz <striz at fame.utb.cz>:
> Good afternoon,
>
> I have also done testing on Mandriva 2009.1. Everything worked like a charm.
> Even LuaTeX under ConTeXt.
>
> Only one note. It would be welcome (at least by me) to describe possible
> ways how to set PATH(s) under Linux (local .bashrc, export PATH=...,
> etc/profile editing?, etc.) at the end of the TeX Live installation. I
> wanted to point on this last year, but I forgot.
>
It depends...

I have the following function in my ~/.bashrc so that the path
elements are no added twice:

addtopath () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
           if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
           else
              PATH=$1:$PATH
           fi
        fi
}

Then I have somewhere below:

export MACHINE=`uname -i`
addtopath /usr/local/texlive/2009/bin/$MACHINE-linux

my ~/.bash_profile contains just the following

if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi


I wish to start some programs from GNOME icons and when gnome is
initialized, only the profile is read, not .bashrc. I can change the
path in an xterm to use locally another version of TL (older, newer
etc) but of course not in the program started by an icon, it needs
.bashrc to be modified and gnome restarted. A lot of different
scenarios are possible...

> Have a nice day!
>
> PS
>
>
>
>
> ___ Information from ESET Mail Security, ver. 4558 (20091030) ___
> The message was checked by ESET Mail Security. www.eset.com
>
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list