summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
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-09 21:06:19 +0200
commit9e40aca75e29bf5202146a6b33d0d0723b6a3f89 (patch)
tree85dec3e30329ac2c9528a05531a00d2e69684708 /dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
parentd6186b70e9266ac8f07cd834dfc2c36b48623521 (diff)
downloadtde-packaging-9e40aca75e29bf5202146a6b33d0d0723b6a3f89.tar.gz
tde-packaging-9e40aca75e29bf5202146a6b33d0d0723b6a3f89.zip
DilOS: Add package tqt3
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm')
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm16
1 files changed, 16 insertions, 0 deletions
diff --git a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
new file mode 100644
index 000000000..0ec40c9e9
--- /dev/null
+++ b/dilos/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#