X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bdc493773e6bf76643e3ae1abd2c3b7ad6759a9..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/debian/python-wxgtk.prerm?ds=sidebyside diff --git a/debian/python-wxgtk.prerm b/debian/python-wxgtk.prerm index 86a40e41ff..a7248eaa58 100644 --- a/debian/python-wxgtk.prerm +++ b/debian/python-wxgtk.prerm @@ -2,10 +2,9 @@ set -e -PACKAGE="python-wxgtk=V" -dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2 - -update-alternatives --remove wx.pth /usr/lib/wx/python/wx=V.pth +for PY in =PYVERS; do + update-alternatives --remove wx-python$PY.pth /usr/lib/wx/python$PY/wx=V.pth +done #DEBHELPER#