summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst')
-rw-r--r--ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst28
1 files changed, 28 insertions, 0 deletions
diff --git a/ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst b/ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst
new file mode 100644
index 000000000..75022d56f
--- /dev/null
+++ b/ubuntu/maverick/dependencies/tqt3/debian/tqt3-dev-tools.postinst
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/moc moc "/usr/bin/moc-tqt3" "45" \
+ --slave /usr/share/man/man1/moc.1.gz moc.1.gz \
+ "/usr/share/man/man1/moc-tqt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/uic uic "/usr/bin/uic-tqt3" "45" \
+ --slave /usr/share/man/man1/uic.1.gz uic.1.gz \
+ "/usr/share/man/man1/uic-tqt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lupdate lupdate "/usr/bin/lupdate-tqt3" "45" \
+ --slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
+ "/usr/share/man/man1/lupdate-tqt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lrelease lrelease "/usr/bin/lrelease-tqt3" "45" \
+ --slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
+ "/usr/share/man/man1/lrelease-tqt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/qmake qmake "/usr/bin/qmake-tqt3" "45" \
+
+#DEBHELPER#