diff --git a/debian/libwxgtk-univ.dirs b/debian/libwxgtk-univ.dirs new file mode 100644 index 0000000000..0b30d59ca1 --- /dev/null +++ b/debian/libwxgtk-univ.dirs @@ -0,0 +1,4 @@ +usr/bin +usr/lib/wx/include/gtkuniv-=V/wx +usr/share/man/man1 + diff --git a/debian/libwxgtk-univ.links b/debian/libwxgtk-univ.links new file mode 100644 index 0000000000..4c0b43be12 --- /dev/null +++ b/debian/libwxgtk-univ.links @@ -0,0 +1,2 @@ +usr/share/man/man1/wx-config.1.gz usr/share/man/man1/wxgtkuniv-=V-config.1.gz + diff --git a/debian/libwxgtk-univ.postinst b/debian/libwxgtk-univ.postinst new file mode 100644 index 0000000000..2b87484262 --- /dev/null +++ b/debian/libwxgtk-univ.postinst @@ -0,0 +1,11 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtkuniv-=V-config 50 + +if [ "$1" = "configure" ]; then + ldconfig +fi + +#DEBHELPER# + diff --git a/debian/libwxgtk-univ.prerm b/debian/libwxgtk-univ.prerm new file mode 100644 index 0000000000..867ac76c25 --- /dev/null +++ b/debian/libwxgtk-univ.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/bin/wxgtkuniv-=V-config + +#DEBHELPER# +