summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
commit11394aecd1f906fee2ebd2b90412aeba4651fbff (patch)
treebcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst
parentd24bd898174453b586ac90f2ef7a60165fa26fde (diff)
downloadtde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz
tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst')
-rw-r--r--ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst28
1 files changed, 28 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst b/ubuntu/_base/dependencies/tqt3/debian/tqt3-dev-tools.postinst
new file mode 100644
index 000000000..b6c833de8
--- /dev/null
+++ b/ubuntu/_base/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#