]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/python-wxgtk-dbg.prerm
Don't include wxUniversal configurations in MSVC project files.
[wxWidgets.git] / debian / python-wxgtk-dbg.prerm
index f9618753f2f601e9b2e6647dcc4bb684dc464dd8..4440c7bd370da778d3d660157000071d068b9514 100644 (file)
@@ -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#