282437dff5
Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
21 lines
357 B
Bash
21 lines
357 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/12/31 17:38:33 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.3 ]
|
|
then
|
|
rm -f ${PREFIX}/bin/python
|
|
fi
|
|
|
|
if [ ${PREFIX}/bin/pydoc -ef ${PREFIX}/bin/pydoc2.3 ]
|
|
then
|
|
rm -f ${PREFIX}/bin/pydoc
|
|
fi
|