summaryrefslogtreecommitdiff
path: root/www/seamonkey/INSTALL
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-10-08 13:10:30 +0000
committerghen <ghen@pkgsrc.org>2006-10-08 13:10:30 +0000
commit0878f7a5352b191652fc4f327385e65333659132 (patch)
tree31f9f8d84b87165a9700811e3cc59a4f36d981b2 /www/seamonkey/INSTALL
parent4a6ca287b61e8152761290ac2129441cdc5c9b06 (diff)
downloadpkgsrc-0878f7a5352b191652fc4f327385e65333659132.tar.gz
Recent versions of firefox don't have regchrome anymore, resulting in a
(non-fatal) error: ./+INSTALL: /usr/pkg/lib/firefox2/regchrome: not found. Only run regchrome when it's installed.
Diffstat (limited to 'www/seamonkey/INSTALL')
-rw-r--r--www/seamonkey/INSTALL9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/seamonkey/INSTALL b/www/seamonkey/INSTALL
index 5ab0c99108d..928812afc4c 100644
--- a/www/seamonkey/INSTALL
+++ b/www/seamonkey/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.1.1.1 2006/03/30 19:15:38 ghen Exp $
+# $NetBSD: INSTALL,v 1.2 2006/10/08 13:10:30 ghen Exp $
MOZILLA="@MOZILLA@"
MOZILLA_BIN="@MOZILLA_BIN@"
@@ -10,8 +10,11 @@ POST-INSTALL)
${MKDIR} -p "./tmpdir-${PKGNAME}"
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
${MOZILLA_FIVE_HOME}/regxpcom
- LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
- ${MOZILLA_FIVE_HOME}/regchrome
+ if ${TEST} -x ${MOZILLA_FIVE_HOME}/regchrome; then
+ LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" \
+ HOME="./tmpdir-${PKGNAME}" \
+ ${MOZILLA_FIVE_HOME}/regchrome
+ fi
${RM} -fr "./tmpdir-${PKGNAME}"
;;
esac