freebsd-ports/mail/enigmail/pkg-deinstall
Alex Dupre a2bd6681e8 Try to fix bento error (the correct way to locate the wrkdir of
another port is to do it relative to ${WRKDIR}).
2004-02-23 10:34:01 +00:00

8 lines
202 B
Bash

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