aboutsummaryrefslogtreecommitdiff
path: root/mail/enigmail-thunderbird/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'mail/enigmail-thunderbird/pkg-deinstall')
-rw-r--r--mail/enigmail-thunderbird/pkg-deinstall8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/enigmail-thunderbird/pkg-deinstall b/mail/enigmail-thunderbird/pkg-deinstall
new file mode 100644
index 000000000000..daf8822ecf16
--- /dev/null
+++ b/mail/enigmail-thunderbird/pkg-deinstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if test "$2" = "POST-DEINSTALL"; then
+FILE=${PKG_PREFIX}/lib/thunderbird/lib/mozilla-1.6b/chrome/installed-chrome.txt
+cp ${FILE} ${FILE}.orig
+cat ${FILE}.orig | grep -v enigmail > ${FILE}
+rm ${FILE}.orig
+fi