[tex-live] updmap question

Thomas Esser te at dbs.uni-hannover.de
Sun Mar 23 13:31:10 CET 2003


> but it is not used. Putting it into
> 	/usr/TeX/texmf-var/web2c/updmap.cfg
> erases it when calling updmap. bash -x shows me:
> ...
> + rm -f /usr/TeX/texmf-var/web2c/updmap.cfg
> + cp /src/p4-base/Master/texmf/web2c/updmap.cfg /usr/TeX/texmf-var/web2c/updmap.cfg
> ...

The code that copies updmap.cfg to $VARTEXMF/web2c should only be
executed if the target file does not exist:

    tf=`kpsewhich -expand-var='$VARTEXMF'`
    if test -n "$tf" && test ! -f "$tf/web2c/$cnfFileShort"; then
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ...
        rm -f "$tf/web2c/$cnfFileShort"
        cp $TEXMFMAIN/web2c/$cnfFileShort "$tf/web2c/$cnfFileShort"
        ...
    fi

If that does not work for you, please help me to fix this bug.

Thomas


More information about the tex-live mailing list