summaryrefslogtreecommitdiff
path: root/debian/qt4-qmake.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/qt4-qmake.postinst')
-rw-r--r--debian/qt4-qmake.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/qt4-qmake.postinst b/debian/qt4-qmake.postinst
new file mode 100644
index 0000000..43edfef
--- /dev/null
+++ b/debian/qt4-qmake.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/qmake qmake "/usr/bin/qmake-qt4" "40" \
+ --slave /usr/share/man/man1/qmake.1.gz qmake.1.gz \
+ "/usr/share/man/man1/qmake-qt4.1.gz"
+
+#DEBHELPER#