]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-dbg.postinst
first stab at forward porting deb build changes. There is probably more still to...
[wxWidgets.git] / debian / libwxgtk-dbg.postinst
index d5c1795ebf09380db8aebf8fae0bc54cc375d4c3..e1ebbd2ecab0c116d7d417353e76e0fc6f43ef09 100644 (file)
@@ -1,11 +1,9 @@
 #! /bin/sh
 set -e
 
 #! /bin/sh
 set -e
 
-update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtkd-=V-config 50
-
-if [ "$1" = "configure" ]; then
-       ldconfig
-fi
+update-alternatives --install /usr/bin/wx-config wx-config              \
+                             /usr/lib/wx/config/gtk2-unicode-debug-=V  \
+                             $(( =PRIO * 10 + 6 ))
 
 #DEBHELPER#
 
 
 #DEBHELPER#