X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c0e67b250ff0410ee4573eea7943eda6817b0db..61c213fe224da24ce33c9187263e75a17ca83a04:/debian/libwxgtk-python.postinst diff --git a/debian/libwxgtk-python.postinst b/debian/libwxgtk-python.postinst index a1bebf841b..a4b6edfbfc 100644 --- a/debian/libwxgtk-python.postinst +++ b/debian/libwxgtk-python.postinst @@ -2,12 +2,11 @@ set -e -WXPYTHONDIR="/usr/lib/python1.5/site-packages/wxPython" +WXPYTHONDIR="/=WXPYDIR" if [ "$1" = "configure" ]; then - python /usr/lib/python1.5/compileall.py -q ${WXPYTHONDIR} - python -O /usr/lib/python1.5/compileall.py -q ${WXPYTHONDIR} - ldconfig + =PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR} + =PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR} fi #DEBHELPER#