#! /bin/sh 
# prerm script for sqltriples

set -e

PACKAGE=python2.4-sqltriples
VERSION=2.4
LIB="/usr/lib/python$VERSION"
DIRLIST="$LIB/site-packages/sqltriples"

case "$1" in
    remove|upgrade|failed-upgrade)
        for i in $DIRLIST ; do
            find $i -name '*.py[co]' -exec rm \{\} \;
        done
    ;;

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



exit 0
