]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxbase-dbg.postinst
check that HWNDs are non-NULL before doing anything with them (part of patch 1866053)
[wxWidgets.git] / debian / libwxbase-dbg.postinst
index eac3f0a3a88c03c1db114df0c1139c23b71753c3..94e5119d51133bbb03af96f0abbc7811a3b73ec3 100644 (file)
@@ -1,11 +1,9 @@
 #! /bin/sh
 set -e
 
-update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxbased-config 50
-
-if [ "$1" = "configure" ]; then
-       ldconfig
-fi
+update-alternatives --install /usr/bin/wx-config wx-config             \
+                             /usr/lib/wx/config/base-unicode-debug-=V \
+                             $(( =PRIO * 10 + 5 ))
 
 #DEBHELPER#