#! /bin/bash -e # by pts@fazekas.hu at Fri Jul 25 22:59:56 CEST 2003 # Sun Dec 7 16:29:20 CET 2003 # set -e : exit on first error # # Dat: prerm runs before unpack of replacement, postrm runs after it # Extract the .pfb files DIR=/usr/share/texmf/fonts/type1/public/tt2001 if [ -d "$DIR" ]; then # for safety cd "$DIR" # fc -> te # uc -> tu # f* -> te rm -f {te,tu,fa,fc,uc,fu,fy,fi,fm,fn,fs,ft}*.pfb tt2001.t1c # ^^^ Dat: foo* maches `foo*' is no glob # ^^^ Dat: *.t1c: fix a previous broken installation # ^^^ Dat: safe to remove *.t1c, even with package update cd / rmdir "$DIR" fi # Dat: do not modify the config files of pdfTeX, dvipdfm and dvips now. # The user should install additional packages (e.g # pts-tetex-default-ec-tt2001 for that) mktexlsr