]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-python.postinst
Simplified and extended compiler detection for OS/2.
[wxWidgets.git] / debian / libwxgtk-python.postinst
index 5972978114cf2741678b09a01afaa27e9a4a4f2d..a4b6edfbfc9f8e9f77a125333e967fab553d3677 100644 (file)
@@ -2,11 +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}
+       =PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
+       =PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
 fi
 
 #DEBHELPER#