summaryrefslogtreecommitdiff
path: root/Master/bin/i386-darwin/texlinks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-20 01:09:23 +0000
committerKarl Berry <karl@freefriends.org>2007-01-20 01:09:23 +0000
commit6a896c5c894f7efa99b574b65a04548bb17a79b7 (patch)
treebae913057e8baa185817bfcb239314a5c6da6865 /Master/bin/i386-darwin/texlinks
parent6e324fb707ff4a4209adb7dae158c12348b74b09 (diff)
binary update from gerben
git-svn-id: svn://tug.org/texlive/trunk@3611 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-darwin/texlinks')
-rwxr-xr-xMaster/bin/i386-darwin/texlinks21
1 files changed, 7 insertions, 14 deletions
diff --git a/Master/bin/i386-darwin/texlinks b/Master/bin/i386-darwin/texlinks
index f84f55a95bd..148d457aa84 100755
--- a/Master/bin/i386-darwin/texlinks
+++ b/Master/bin/i386-darwin/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Thomas Esser, 1999, 2002, 2003. public domain.
+# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
# texlinks: script to maintain symlinks from format to engine. Interprets
# the lines given in fmtutil.cnf.
@@ -35,7 +35,7 @@ export PATH
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
cnf=fmtutil.cnf # name of the config file
-version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
+version=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,23 +133,16 @@ install_link()
case $src in
*/mf)
- if test "$dest" = mf-nowin; then
- if test -f $selfautoloc/mfw; then
- dest=mfw # name for windows-enabled mf, once upon a time
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
- fi
- if test -f $selfautoloc/mf && test -f $selfautoloc/mf-nowin; then
- # have both mf and mf-nowin binaries. no link.
- verbose_echo "metafont symlink $src -> $dest skipped (special case)"
- return
- fi
+ if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
+ dest="mfw"
+ verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $src -> $dest skipped (special case)"
+ verbose_echo "symlink $2 -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -160,7 +153,7 @@ install_link()
true)
;;
*)
- errmsg "install_link $src -> $dest failed: file already exists."
+ errmsg "install_link failed for $src. File already exists."
;;
esac
else