]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-dev.postinst
some blind compilation fixes for legacy code (#9698)
[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#