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