summaryrefslogtreecommitdiffstats
path: root/debian/thunderbird.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/thunderbird.prerm')
-rw-r--r--debian/thunderbird.prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/thunderbird.prerm b/debian/thunderbird.prerm
new file mode 100644
index 0000000000..81a5211a13
--- /dev/null
+++ b/debian/thunderbird.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+LIBDIR=/usr/lib/thunderbird
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] || [ "$1" = upgrade ]; then
+ rm -f $LIBDIR/.autoreg
+fi
+
+#DEBHELPER#