#! /bin/sh -e
#
# postinst script for the Debian @PVER@-regrtest package.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
#

PACKAGE=`basename $0 .postinst`
DIRLIST="@SCRIPTDIR@/test"

case "$1" in
    configure|abort-upgrade|abort-remove|abort-deconfigure)
        for i in $DIRLIST ; do
            /usr/bin/python@VER@ -O @SCRIPTDIR@/compileall.py -q $i
            /usr/bin/python@VER@ @SCRIPTDIR@/compileall.py -q $i
        done
    ;;

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


#DEBHELPER#


exit 0
