]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/python-wxgtk.prerm
Added build/msw/wx_propgrid.dsp to vc manifest (I hope this fixes #10564)
[wxWidgets.git] / debian / python-wxgtk.prerm
index 86a40e41ff9062b9610d49583ebdf7fd453d5ff6..a7248eaa5804f00b179a8724bcb53c9e9bff5b40 100644 (file)
@@ -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#