#!/bin/sh set -e if [ "$1" = install ] || [ "$1" = upgrade ]; then # Divert the regular cursor font out of the way, so our font is used # instead. This has to happen before update-font-dir, which is why it's in # the preinst here; if this package and xfonts-base are installed at the # same time, it needs to run before that package is unpacked. dpkg-divert --package big-cursor --add --rename --divert \ /usr/share/fonts/X11/misc/cursor.pcf.gz-small \ /usr/share/fonts/X11/misc/cursor.pcf.gz fi