]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-python.postinst
Unicode compilation fix
[wxWidgets.git] / debian / libwxgtk-python.postinst
index a1bebf841b47d54c0da210be7e481eeaac61900d..a4b6edfbfc9f8e9f77a125333e967fab553d3677 100644 (file)
@@ -2,12 +2,11 @@
 
 set -e
 
 
 set -e
 
-WXPYTHONDIR="/usr/lib/python1.5/site-packages/wxPython"
+WXPYTHONDIR="/=WXPYDIR"
 
 if [ "$1" = "configure" ]; then
 
 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#
 fi
 
 #DEBHELPER#