]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/libwxgtk-dev.postinst
don't dereference end iterator (closes #10656)
[wxWidgets.git] / debian / libwxgtk-dev.postinst
index 2d8af60da19563910dc1f4289f9ba932b2bec45c..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 70
-update-alternatives --install /usr/bin/wx-config wx-config /usr/lib/wx/config/gtk2-unicode-release-=V-static 60
+update-alternatives --install /usr/bin/wx-config wx-config                \
+                             /usr/lib/wx/config/gtk2-unicode-release-=V  \
+                             $(( =PRIO * 10 + 8 ))
 
 #DEBHELPER#