#!/bin/sh
case "$1" in
  configure)
    depmod -a -F /boot/System.map-2.6.35-20-generic 2.6.35-20-generic
    update-initramfs -u -k 2.6.35-20-generic
    if [ -f /usr/lib/X11/xorg.conf.d/97-touchscreen-calibration.conf ]; then
      rm /usr/lib/X11/xorg.conf.d/97-touchscreen-calibration.conf
    fi
    ;;
esac
