#!/bin/sh

PACKAGE=$1
INSTALLDIR=$2

# Remove any previously installed script
oldlibrarydir=$INSTALLDIR/lib/python
if [ -d $oldlibrarydir ]
then
	echo
	echo -n "    Removing previous scripts from $oldlibrarydir ... "
	/bin/rm -rf $oldlibrarydir
fi

oldlibrarydir=$INSTALLDIR/lib/python1.4
if [ -d $oldlibrarydir ]
then
	echo
	echo -n "    Removing previous scripts from $oldlibrarydir ... "
	/bin/rm -rf $oldlibrarydir
fi

echo "OK."
exit 0
