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
This commit is contained in:
16
debian/python-wxgtk-dbg.postinst
vendored
Normal file
16
debian/python-wxgtk-dbg.postinst
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/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#
|
||||
|
Reference in New Issue
Block a user