summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm')
-rw-r--r--ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm16
1 files changed, 16 insertions, 0 deletions
diff --git a/ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm b/ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm
new file mode 100644
index 000000000..0ec40c9e9
--- /dev/null
+++ b/ubuntu/raring/dependencies/tqt3/debian/tqt3-dev-tools.prerm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ update-alternatives --remove moc "/usr/bin/tqmoc"
+ update-alternatives --remove uic "/usr/bin/tquic"
+ update-alternatives --remove lupdate "/usr/bin/tqlupdate"
+ update-alternatives --remove lrelease "/usr/bin/tqlrelease"
+ update-alternatives --remove qmake "/usr/bin/tqmake"
+ ;;
+esac
+
+#DEBHELPER#