summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2019-08-25 21:13:36 +0300
committerSlávek Banko <slavek.banko@axis.cz>2019-09-10 18:16:36 +0200
commit4d80a99d10150a4098ff08654050f105d3ca1a6e (patch)
treecc11c5959719b3c0b62329fce23e436f93dd979f /dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
parent6c4efe6bcf57d1f36aa1658741662bff8ecc9103 (diff)
downloadtde-packaging-4d80a99d10150a4098ff08654050f105d3ca1a6e.tar.gz
tde-packaging-4d80a99d10150a4098ff08654050f105d3ca1a6e.zip
DilOS: Add package tqt3
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 9e40aca75e29bf5202146a6b33d0d0723b6a3f89)
Diffstat (limited to 'dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst')
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst28
1 files changed, 28 insertions, 0 deletions
diff --git a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
new file mode 100644
index 000000000..b6c833de8
--- /dev/null
+++ b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/moc moc "/usr/bin/tqmoc" "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/tquic" "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/tqlupdate" "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/tqlrelease" "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/tqmake" "45" \
+
+#DEBHELPER#