summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 16:48:05 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 16:48:05 -0500
commita60484dd14c5668eb121c33fa44577b1b7e59b5e (patch)
tree4bea7d7b943afa22f46f5aa943749eabf743e106 /ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst
parent98f3f6433889e53ea37744c8ee953a51b92d2ef4 (diff)
downloadtde-packaging-a60484dd14c5668eb121c33fa44577b1b7e59b5e.tar.gz
tde-packaging-a60484dd14c5668eb121c33fa44577b1b7e59b5e.zip
Added qt3 to maverick
Diffstat (limited to 'ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst')
-rw-r--r--ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst28
1 files changed, 28 insertions, 0 deletions
diff --git a/ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst b/ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst
new file mode 100644
index 000000000..70ca043fe
--- /dev/null
+++ b/ubuntu/maverick/dependencies/qt3/debian/qt3-dev-tools.postinst
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/moc moc "/usr/bin/moc-qt3" "45" \
+ --slave /usr/share/man/man1/moc.1.gz moc.1.gz \
+ "/usr/share/man/man1/moc-qt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/uic uic "/usr/bin/uic-qt3" "45" \
+ --slave /usr/share/man/man1/uic.1.gz uic.1.gz \
+ "/usr/share/man/man1/uic-qt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lupdate lupdate "/usr/bin/lupdate-qt3" "45" \
+ --slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
+ "/usr/share/man/man1/lupdate-qt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lrelease lrelease "/usr/bin/lrelease-qt3" "45" \
+ --slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
+ "/usr/share/man/man1/lrelease-qt3.1.gz"
+
+update-alternatives --install \
+ /usr/bin/qmake qmake "/usr/bin/qmake-qt3" "45" \
+
+#DEBHELPER#