4
# we have to move the map and dvips config file into /u/s/texmf
5
# but want to preserve changes done by the user!
8
grep "$1[[:space:]]" /var/lib/dpkg/status | cut -f 3 -d ' '
15
oldmd5sum=`dpkg_md5sum $oldfile`
17
if ! [ -r $oldfile ] ; then
21
newmd5sum=`md5sum $oldfile | cut -d ' ' -f 1`
22
if [ "$newmd5sum" = "$oldmd5sum" ] ; then
23
echo "Removing obsolete, unchanged conffile $oldfile"
26
if [ "X$newloc" = "X" ] ; then
27
echo "Conffile $oldfile was changed, leaving it at the same place"
29
echo "Conffile $oldfile was changed, moving it to new location $newloc"
34
test -d $oldloc && rmdir --ignore-fail-on-non-empty $oldloc || true
42
config_move /etc/texmf/dvips/tipa.map /etc/texmf/fonts/map/dvips
49
echo "preinst called with unknown argument \`$1'" >&2