summaryrefslogtreecommitdiff
path: root/debian/qt4-qmake.prerm
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2008-09-19 17:24:11 +0000
committerFathi Boudra <fabo@debian.org>2008-09-19 17:24:11 +0000
commitd3b71c865f144373b75cbd0c3057558bbfc3a9ab (patch)
tree91b3537c1a9e7a0e6b0d88126dd306b1c42ab6d3 /debian/qt4-qmake.prerm
parentf2617f4931d70262e1fbdf0f223ded6f083373de (diff)
downloadqt4-x11-d3b71c865f144373b75cbd0c3057558bbfc3a9ab.tar.gz
Split qmake in its own qt4-qmake package. (Closes: #437354)
Diffstat (limited to 'debian/qt4-qmake.prerm')
-rw-r--r--debian/qt4-qmake.prerm12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/qt4-qmake.prerm b/debian/qt4-qmake.prerm
new file mode 100644
index 0000000..49cbd3d
--- /dev/null
+++ b/debian/qt4-qmake.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ update-alternatives --remove qmake "/usr/bin/qmake-qt4"
+ ;;
+esac
+
+#DEBHELPER#