Files
wxWidgets/debian/python-wxgtk.postinst
Robin Dunn b63b53820a 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
2007-07-23 15:51:36 +00:00

16 lines
285 B
Bash

#!/bin/sh
set -e
WXPYTHONDIR="=WXPYDIR"
PYVERS="=PYVERS"
for PY in $PYVERS; do
update-alternatives --install /usr/lib/python$PY/site-packages/wx.pth \
wx-python$PY.pth \
/usr/lib/wx/python$PY/wx=V.pth =PRIO
done
#DEBHELPER#