4
# Divert the regular cursor font out of the way, so our font is used
5
# instead. This has to happen before update-font-dir, which is why it's in
6
# the preinst here; if this package and xfonts-base are installed at the
7
# same time, it needs to run before that package is unpacked.
8
if [ "$1" = install -o "$1" = upgrade ] &&
9
dpkg --compare-versions "$2" lt "3.0"
11
dpkg-divert --package big-cursor --add --rename --divert \
12
/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz-small \
13
/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz