Allow supporting more than one version of Python at a time, if python-central is available and

installed in the Debian distro, and if it specifies that more than one version should be supported.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-07-23 15:51:36 +00:00
parent e738283be2
commit b63b53820a
7 changed files with 405 additions and 303 deletions

View File

@@ -5,7 +5,9 @@ set -e
PACKAGE="python-wxgtk=V-dbg"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
update-alternatives --remove wx.pth /usr/lib/wx/python/wx=V-dbg.pth
for PY in =PYVERS; do
update-alternatives --remove wx.pth /usr/lib/wx/$PY/wx=V-dbg.pth
done
#DEBHELPER#