[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

unseting TEX variables in postinst



Christoph Martin writes:
 > Atsuhito Kohda writes:
 >  > > > TEXMF=/usr/lib/texmf
 >  > 
 >  > It is incredible but it is true that some users set TEXMF 
 >  > as root.  I found some time ago that in tetex-bin.postinst 
 >  > it is commented out as follows
 >  > 
 >  > #unset TETEXDIR || true
 >  > #unset TEXMF || true
 >  > #unset TEXINPUTS || true
 >  > 
 >  > and wondered why?
 >  > 
 >  > I think this is a good time to ask this.  Why the above
 >  > lines are commented out?
 >  > 
 > 
 > There was a reason, which I can't remember at the moment ;-}

When you look at the postinst script you can see that just above the
commented unset lines, a whole bunch of variables is unset. TEXINPUTS
is included, but the other two are missing. I think they were just
forgotten to put into the list. I'll do a patch soon.

Christoph



Reply to: