]> git.saurik.com Git - wxWidgets.git/blame - debian/python-wxgtk-dbg.postinst
Merge wxBitmapButton and wxButton panels in the xrc sample.
[wxWidgets.git] / debian / python-wxgtk-dbg.postinst
CommitLineData
e0a4aa8a
RL
1#!/bin/sh
2
3set -e
4
8bf4f383
RD
5WXPYTHONDIR="=WXPYDIR"
6PYVERS="=PYVERS"
e0a4aa8a
RL
7
8if [ "$1" = "configure" ]; then
8bf4f383
RD
9 for PY in $PYVERS; do
10 $PY /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
11 $PY -O /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
12 done
e0a4aa8a
RL
13fi
14
8bf4f383
RD
15for PY in $PYVERS; do
16 update-alternatives --install /usr/lib/$PY/site-packages/wx.pth wx.pth \
17 /usr/lib/wx/$PY/wx=V-dbg.pth $(( =PRIO - 10 ))
18done
8bdc4937 19
e0a4aa8a
RL
20#DEBHELPER#
21