X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a4aa8a213de4748d95c6528a44474ac42cea08..3216dbf5dccab8ed6dc0245b7e5c998738ef51d7:/debian/libwxgtk-python.prerm diff --git a/debian/libwxgtk-python.prerm b/debian/libwxgtk-python.prerm index 8417f23f42..03d602c2d3 100644 --- a/debian/libwxgtk-python.prerm +++ b/debian/libwxgtk-python.prerm @@ -2,8 +2,12 @@ set -e -WXPYTHONDIR="/usr/lib/python1.5/site-packages/wxPython" -find ${WXPYTHONDIR} -name "*.py?" -exec rm -f {} \; +PACKAGE="libwxgtk=V-python" + +dpkg --listfiles $PACKAGE | + awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | + xargs rm -f >&2 + #DEBHELPER#