summaryrefslogtreecommitdiff
path: root/fonts/ps-type1/tt2001/debian/prerm
blob: 4ac381a8a20ab023190a2860ef2bd20258cffe33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /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