#!/bin/sh TEXMF=${TEXMF-`kpsexpand '$TEXMF'`} thisdir=${PWD-`pwd`} if [ ! -f $thisdir/latex-new.tar.gz ]; then echo "file latex-new.tar.gz not found in $thisdir." >&2 exit fi cd `dirname $TEXMF` if [ ! -d texmf/tex ]; then echo "directory texmf/tex not found in `pwd`." >&2 exit fi rm -f texmf/tex/latex/base/fontdef.ltx rm -f texmf/tex/latex/base/lthyphen.ltx rm -f texmf/tex/latex/local/lthyphen.cfg rm -f texmf/tex/latex/misc/dinbrief.sty rm -f texmf/tex/latex/misc/umlauts.sty rm -f texmf/tex/latex/misc/umlaute.sty rm -f texmf/tex/latex/misc/umlaut.sty rm -f texmf/tex/latex/psnfss/avantgar.sty rm -f texmf/tex/latex/psnfss/helvetic.sty rm -f texmf/tex/latex/psnfss/newcentu.sty rm -f texmf/tex/latex/psnfss/psy.fd rm -f texmf/tex/latex/psnfss/pzd.fd rm -f texmf/tex/latex/psnfss/zapfchan.sty tar zxvf $thisdir/latex-new.tar.gz texhash texconfig