summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/tetex/texlinks21
-rwxr-xr-xMaster/bin/alpha-linux/texlinks21
-rwxr-xr-xMaster/bin/hppa-hpux/texlinks21
-rwxr-xr-xMaster/bin/i386-darwin/texlinks21
-rwxr-xr-xMaster/bin/i386-freebsd/texlinks21
-rwxr-xr-xMaster/bin/i386-linux/texlinks21
-rwxr-xr-xMaster/bin/i386-openbsd/texlinks21
-rwxr-xr-xMaster/bin/i386-solaris/texlinks21
-rwxr-xr-xMaster/bin/mips-irix/texlinks21
-rwxr-xr-xMaster/bin/powerpc-aix/texlinks21
-rwxr-xr-xMaster/bin/powerpc-darwin/texlinks21
-rwxr-xr-xMaster/bin/powerpc-linux/texlinks21
-rwxr-xr-xMaster/bin/sparc-linux/texlinks21
-rwxr-xr-xMaster/bin/sparc-solaris/texlinks21
-rwxr-xr-xMaster/bin/x86_64-linux/texlinks21
15 files changed, 210 insertions, 105 deletions
diff --git a/Build/source/texk/tetex/texlinks b/Build/source/texk/tetex/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Build/source/texk/tetex/texlinks
+++ b/Build/source/texk/tetex/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/alpha-linux/texlinks b/Master/bin/alpha-linux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/alpha-linux/texlinks
+++ b/Master/bin/alpha-linux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/hppa-hpux/texlinks b/Master/bin/hppa-hpux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/hppa-hpux/texlinks
+++ b/Master/bin/hppa-hpux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/i386-darwin/texlinks b/Master/bin/i386-darwin/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/i386-darwin/texlinks
+++ b/Master/bin/i386-darwin/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/i386-freebsd/texlinks b/Master/bin/i386-freebsd/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/i386-freebsd/texlinks
+++ b/Master/bin/i386-freebsd/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/i386-linux/texlinks b/Master/bin/i386-linux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/i386-linux/texlinks
+++ b/Master/bin/i386-linux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/i386-openbsd/texlinks b/Master/bin/i386-openbsd/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/i386-openbsd/texlinks
+++ b/Master/bin/i386-openbsd/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/i386-solaris/texlinks b/Master/bin/i386-solaris/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/i386-solaris/texlinks
+++ b/Master/bin/i386-solaris/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/mips-irix/texlinks b/Master/bin/mips-irix/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/mips-irix/texlinks
+++ b/Master/bin/mips-irix/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/powerpc-aix/texlinks b/Master/bin/powerpc-aix/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/powerpc-aix/texlinks
+++ b/Master/bin/powerpc-aix/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/powerpc-darwin/texlinks b/Master/bin/powerpc-darwin/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/powerpc-darwin/texlinks
+++ b/Master/bin/powerpc-darwin/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/powerpc-linux/texlinks b/Master/bin/powerpc-linux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/powerpc-linux/texlinks
+++ b/Master/bin/powerpc-linux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/sparc-linux/texlinks b/Master/bin/sparc-linux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/sparc-linux/texlinks
+++ b/Master/bin/sparc-linux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/sparc-solaris/texlinks b/Master/bin/sparc-solaris/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/sparc-solaris/texlinks
+++ b/Master/bin/sparc-solaris/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else
diff --git a/Master/bin/x86_64-linux/texlinks b/Master/bin/x86_64-linux/texlinks
index 148d457aa84..f84f55a95bd 100755
--- a/Master/bin/x86_64-linux/texlinks
+++ b/Master/bin/x86_64-linux/texlinks
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright Thomas Esser, 1999, 2002, 2003. public domain.
+# 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=1125258113 # seconds since `00:00:00 1970-01-01 UTC'
+version=1169050907 # seconds since `00:00:00 1970-01-01 UTC'
# date '+%s' (with GNU date)
progname=texlinks
@@ -133,16 +133,23 @@ install_link()
case $src in
*/mf)
- if test $dest = "mf-nowin" && test -f $selfautoloc/mfw; then
- dest="mfw"
- verbose_echo "both mfw and mf-nowin exists, $src linked to $dest"
+ 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
fi
;;
esac
case $src in
*/cont-??|*/metafun|*/mptopdf)
- verbose_echo "symlink $2 -> $dest skipped (special case)"
+ verbose_echo "symlink $src -> $dest skipped (special case)"
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
@@ -153,7 +160,7 @@ install_link()
true)
;;
*)
- errmsg "install_link failed for $src. File already exists."
+ errmsg "install_link $src -> $dest failed: file already exists."
;;
esac
else