]> git.saurik.com Git - wxWidgets.git/blame_incremental - debian/python-wxgtk-dbg.postinst
Use WXUNUSED() to suppress unused parameter warnings.
[wxWidgets.git] / debian / python-wxgtk-dbg.postinst
... / ...
CommitLineData
1#!/bin/sh
2
3set -e
4
5WXPYTHONDIR="=WXPYDIR"
6PYVERS="=PYVERS"
7
8if [ "$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
13fi
14
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
19
20#DEBHELPER#
21