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