#! /bin/sh
set -e

#DEBHELPER#

case "$1" in
  configure)

    if [ -L /usr/X11R6/lib/X11/icons/default/index.theme ]; then
      update-alternatives --remove-all x-cursor-theme
    fi

    update-alternatives \
      --install /usr/share/icons/default/index.theme \
      x-cursor-theme /usr/share/themes/Human/cursor.theme 40

  ;;
esac

exit 0
