#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/12/13 16:03:49 sturm Exp $
#
# Clean up python symlink, if it was ours.
#

set -e
PATH=/bin
PREFIX=${PKG_PREFIX:-/usr/local}

if [ ${PREFIX}/bin/python -ef ${PREFIX}/bin/python2.1 ]
then
	rm -f ${PREFIX}/bin/python
fi

if [ ${PREFIX}/bin/pydoc -ef ${PREFIX}/bin/pydoc2.1 ]
then
	rm -f ${PREFIX}/bin/pydoc
fi
