]> git.saurik.com Git - wxWidgets.git/blob - debian/python-wxgtk-dbg.postinst
Rewrite ConvertToGreyscale() and ConvertToDisabled()
[wxWidgets.git] / debian / python-wxgtk-dbg.postinst
1 #!/bin/sh
2
3 set -e
4
5 WXPYTHONDIR="=WXPYDIR"
6 PYVERS="=PYVERS"
7
8 if [ "$1" = "configure" ]; then
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
13 fi
14
15 for 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 ))
18 done
19
20 #DEBHELPER#
21