#! /bin/sh -e

if [ "x$1" = xremove -o "x$1" = xpurge ]; then
  update-fonts-dir misc
  update-fonts-alias misc
#  /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
  if [ -n "$DISPLAY" ]; then
    /usr/X11R6/bin/xset fp rehash
  fi
fi
