X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bdc493773e6bf76643e3ae1abd2c3b7ad6759a9..e91e1e3d5cab263883c1cee1689c898b8f7c4ecd:/debian/python-wxgtk-dbg.prerm diff --git a/debian/python-wxgtk-dbg.prerm b/debian/python-wxgtk-dbg.prerm index f9618753f2..4440c7bd37 100644 --- a/debian/python-wxgtk-dbg.prerm +++ b/debian/python-wxgtk-dbg.prerm @@ -5,7 +5,9 @@ set -e PACKAGE="python-wxgtk=V-dbg" 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-dbg.pth +for PY in =PYVERS; do + update-alternatives --remove wx.pth /usr/lib/wx/$PY/wx=V-dbg.pth +done #DEBHELPER#