[tex-live] bugfix for fmtutil

Thomas Esser te@informatik.uni-hannover.de
Tue, 21 May 2002 21:56:28 +0200


Hi Sebastian,

if starting with an empty $VARTEXMF, fmtutil fails to create
$VARTEXMF/web2c. Here is a fix.

Thomas

--- TeX/texk/tetex/fmtutil	Thu Apr 18 07:24:06 2002
+++ teTeX-src-beta/texk/tetex/fmtutil	Tue May 21 21:44:23 2002
@@ -269,6 +269,7 @@
     test -z "$VARTEXMF" && VARTEXMF=$MT_TEXMFMAIN
     destdir=$VARTEXMF/web2c
   fi
+  test -d "$destdir" || $MT_MKTEXDIR "$destdir" >/dev/null 2>&1
   test -d "$destdir" || abort "format directory \`$destdir' does not exist"
 
   # find mktexupd script: