[OS X TeX] A recipe for installing TeXLive (TUG)
gerhardt at math.uni-heidelberg.de
Sat Nov 18 19:56:25 EST 2006
It might be necessary to open a new terminal window to get the
correct answer for the command
since the terminal must know of the symlink.
On Nov 19, 2006, at 1:14, Claus Gerhardt wrote:
> (2) Now set the symlink, by using the Applescript, which you should
> create, if you haven't already done so. The entries should be
> exactly as shown below
> -- Applescript
> -- symlink
> -- Nov. 2006
> -- Claus Gerhardt
> (* It is necessary to use the full path for source file and target
> file, if the files or directories are not in the same directory.
> Notice that the administrator privileges will be valid for a few
> seconds after you entered your password, so don't play around with
> the script, it won't ask for your password again in those
> set sourceName to "/usr/local/texlive/2005/bin/powerpc-darwin" --
> enter the name of source folder
> set symlinkName to "/usr/local/" & "texprograms"
> set scriptPath1 to "/usr/local/"
> set shellScript to "cd " & scriptPath1 & ";"
> set shellScript to shellScript & "rm -fR " & symlinkName & ";"
> set shellScript to "ln -s -f " & sourceName & " " & symlinkName
> do shell script shellScript with administrator privileges
> -- End of script
> Run the script in Script editor, you will be asked for your password.
> Check, if everything is correct, by typing in the terminal window
> readlink /usr/local/texprograms
> and hitting return, notice that there is a free space after
> readlink. The answer should be
> If this is not the case, check, if you made a mistake in the
> script, and try again. If the error persists, stop and write to the
> list (you must have made a mistake, very unlikely).
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX