diff options
Diffstat (limited to 'mail/thunderbird-devel/pkg-install.in')
-rw-r--r-- | mail/thunderbird-devel/pkg-install.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/thunderbird-devel/pkg-install.in b/mail/thunderbird-devel/pkg-install.in new file mode 100644 index 000000000..e7d5df3e4 --- /dev/null +++ b/mail/thunderbird-devel/pkg-install.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Date created: Mon Nov 29, 2003 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# Fix the chrome registry. + +umask 022 +PATH=/bin:/usr/bin:/usr/local/bin + +[ "x$1" = "x" ] && exit 1 +[ "x$2" != "xPOST-INSTALL" ] && exit 0 + +MOZDIR=%%MOZDIR%% +REGXPCOM=${MOZDIR}/regxpcom +THUNDERBIRD=${MOZDIR}/thunderbird-bin + +echo "===> Building Chrome's registry..." + +cd ${MOZDIR} || exit 1 +./run-mozilla.sh ${REGXPCOM} || true +./run-mozilla.sh ${THUNDERBIRD} -register > /dev/null 2>&1 + +exit 0 |