summaryrefslogtreecommitdiffstats
path: root/config.profiles/harmattan/qt4-linguist-tools.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'config.profiles/harmattan/qt4-linguist-tools.prerm')
-rw-r--r--config.profiles/harmattan/qt4-linguist-tools.prerm16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.profiles/harmattan/qt4-linguist-tools.prerm b/config.profiles/harmattan/qt4-linguist-tools.prerm
new file mode 100644
index 0000000..04b51bd
--- /dev/null
+++ b/config.profiles/harmattan/qt4-linguist-tools.prerm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+BINARIES="lrelease"
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ for bin in $BINARIES; do
+ rm -f "/usr/bin/${bin}"
+ done
+ ;;
+esac
+
+#DEBHELPER#