]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-python.prerm
10.4 header collision fix
[wxWidgets.git] / debian / libwxgtk-python.prerm
index 8417f23f426cc27f3c6ff0ed03fe3a0833878095..ebf7d74965c2630e47146ac280caff29458e1b20 100644 (file)
@@ -2,8 +2,8 @@
 
 set -e
 
-WXPYTHONDIR="/usr/lib/python1.5/site-packages/wxPython"
-find ${WXPYTHONDIR} -name "*.py?" -exec rm -f {} \;
+PACKAGE="libwxgtk=SOV-python"
+dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
 
 #DEBHELPER#