]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-dev.postinst
Convert wxFSW_EVENT_{WARNING,ERROR} to string correctly.
[wxWidgets.git] / debian / libwxgtk-dev.postinst
index 92832fef7cc33c1d4ea6649061746a1d47768899..6b499fe80dac1d41adaee0109eb7cfaca59f8416 100644 (file)
@@ -1,8 +1,9 @@
 #! /bin/sh
 set -e
 
-update-alternatives --install /usr/bin/wx-config wx-config /usr/lib/wx/config/gtk2-unicode-release-=V 80
-update-alternatives --install /usr/bin/wx-config wx-config /usr/lib/wx/config/gtk2-unicode-release-=V-static 75
+update-alternatives --install /usr/bin/wx-config wx-config                \
+                             /usr/lib/wx/config/gtk2-unicode-release-=V  \
+                             $(( =PRIO * 10 + 8 ))
 
 #DEBHELPER#