X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a4aa8a213de4748d95c6528a44474ac42cea08..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/debian/libwxgtk-python.prerm diff --git a/debian/libwxgtk-python.prerm b/debian/libwxgtk-python.prerm index 8417f23f42..ebf7d74965 100644 --- a/debian/libwxgtk-python.prerm +++ b/debian/libwxgtk-python.prerm @@ -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#