diff options
author | ghen <ghen@pkgsrc.org> | 2006-02-07 16:21:30 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-02-07 16:21:30 +0000 |
commit | f8ecb0d9726dc424851fb13462734e0f785c4333 (patch) | |
tree | 834b006e1675dbc98b3d8232fe698fcd271ad5dd | |
parent | 293b0482c095678ada14572da70934124d1d7995 (diff) | |
download | pkgsrc-f8ecb0d9726dc424851fb13462734e0f785c4333.tar.gz |
The newer Mozilla packages (Firefix 1.5, Thunderbird 1.5, Sunbird 0.3a1,
Seamonkey 1.0) don't have regchrome anymore, but Mozilla 1.7.x still does.
Patch the INSTALL script (used by all those) to run regchrome only if it's
installed.
Ok with wiz.
-rw-r--r-- | www/mozilla/INSTALL | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/mozilla/INSTALL b/www/mozilla/INSTALL index 9b5d1ea13ee..c5d149bd80d 100644 --- a/www/mozilla/INSTALL +++ b/www/mozilla/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.1 2005/09/17 02:35:19 jlam Exp $ +# $NetBSD: INSTALL,v 1.2 2006/02/07 16:21:30 ghen Exp $ MOZILLA="@MOZILLA@" MOZILLA_BIN="@MOZILLA_BIN@" @@ -10,8 +10,10 @@ 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 [ -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 |