[OS X TeX] MacTeX installation

Jonathan Kew jonathan_kew at sil.org
Thu Jan 24 14:48:07 EST 2008

On 24 Jan 2008, at 7:13 pm, Richard Koch wrote:

> Gerben's scripts modify /etc/profile and /etc/csh.login to add the  
> above locations to the PATH. But in Leopard a different mechanism  
> is used to globally modify PATH. Namely, these scripts now call / 
> usr/libexec/path_helper, which adds paths listed in the file /etc/ 
> paths (this list contains /usr/local/bin) and then adds paths  
> listed in files in the directory /etc/paths.d. So on Leopard we  
> don't modify /etc/profile and /etc/csh.login; instead we add a file  
> to /etc/paths.d listing /usr/texbin.
> However, it turns out that Leopard doesn't install the new /etc/ 
> profile if the old /etc/profile has been modified. So our  
> postinstall script ought to call Gerben's scripts if /etc/profile  
> is the old Tiger version.

I'd suggest that you *also* add the file with /usr/texbin to /etc/ 
paths.d in this case, so that things will continue to work if  
something subsequently causes the old Tiger /etc/profile to be  
replaced by a new Leopard-style version.

(Perhaps you were intending to do that anyway -- in which case please  
excuse the noise!)



More information about the MacOSX-TeX mailing list