#! /bin/sh
# postinst script for ayttm

set -e

case "$1" in
    configure)
        if dpkg --compare-versions "$2" lt-nl 0.3.0; then
	  echo "NOTE: the location of modules has changed since 0.2.x"
	  echo " each user will need to edit their ~/.ayttm/prefs file"
	  echo "and replace '/usr/share/ayttm/modules' with '/usr/lib/ayttm'"
	fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0
