#! /bin/sh
#----------------------------------------------------------------
# Example debian/postinst which uses TestCase
# Andreas Tille <tille@debian.org> GPL
#----------------------------------------------------------------

set -e

## !! insert the right directory of your product here !!!
TESTDIR=/usr/lib/zope/lib/python/Products/<PRODUCTNAME>/tests

case "$1" in
	remove|purge)
		rm -f `find  -name ${TESTDIR} "*.pyc"`
	;;
	failed-upgrade|upgrade|deconfigure)
	;;
	*)
		echo "prerm called with unknown argument \`$1'" >&2
		exit 0
	;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
