wxWidgets/debian/python-wxgtk-dbg.postinst
Ron Lee 8bdc493773 Sync changes from Debian 2.6 tree.
Fixes #324960, enabling config.py to handle in tree builds without
tainting build_options.py used for (later) install to some other
location.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-16 02:12:16 +00:00

17 lines
333 B
Bash

#!/bin/sh
set -e
WXPYTHONDIR="/=WXPYDIR"
if [ "$1" = "configure" ]; then
=PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
=PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
fi
update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \
/usr/lib/wx/python/wx=V-dbg.pth $(( =PRIO - 10 ))
#DEBHELPER#