#!/bin/sh

if test "$2" = "POST-DEINSTALL"; then
FILE=${PKG_PREFIX}/lib/thunderbird/chrome/installed-chrome.txt
cp ${FILE} ${FILE}.orig
cat ${FILE}.orig | grep -v enigmime | grep -v enigmail > ${FILE}
rm ${FILE}.orig
fi