#! /bin/sh -e

case "$1" in
    remove)
	# Intrepid plasma
        dpkg-divert --remove --rename /usr/bin/plasma

	# Jaunty plasma-desktop
	dpkg-divert --remove --rename /usr/bin/plasma-desktop
    ;;

    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

    ;;

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

#DEBHELPER#

exit 0