diff options
author | 2003-08-03 09:09:07 +0000 | |
---|---|---|
committer | 2003-08-03 09:09:07 +0000 | |
commit | 8e5196c089ba3bb277d5f50075ccaa80be2f3bcf (patch) | |
tree | 9055de779bd0f5fc246dd0c2b31e9016daca3cd4 /net-www/mozilla-firebird | |
parent | Changed ~mips to mips in KEYWORDS (diff) | |
download | gentoo-2-8e5196c089ba3bb277d5f50075ccaa80be2f3bcf.tar.gz gentoo-2-8e5196c089ba3bb277d5f50075ccaa80be2f3bcf.tar.bz2 gentoo-2-8e5196c089ba3bb277d5f50075ccaa80be2f3bcf.zip |
Fix chrome errors
Diffstat (limited to 'net-www/mozilla-firebird')
-rw-r--r-- | net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild | 40 | ||||
-rw-r--r-- | net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild | 39 |
2 files changed, 39 insertions, 40 deletions
diff --git a/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild b/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild index 16fa4445a01c..03bdf5e803ac 100644 --- a/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild +++ b/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild,v 1.7 2003/08/03 08:13:02 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6-r7.ebuild,v 1.8 2003/08/03 09:09:07 brad Exp $ inherit makeedit flag-o-matic gcc nsplugins eutils @@ -217,22 +217,22 @@ pkg_preinst() { pkg_mv_plugins /usr/lib/MozillaFirebird/plugins } -#pkg_postinst() { -# -# export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaFirebird" -# -# # Needed to update the run time bindings for REGXPCOM -# # (do not remove next line!) -# env-update -# # Register Components and Chrome -# einfo "Registering Components and Chrome..." -# LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regxpcom -# LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regchrome -# # Fix permissions of component registry -# chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat -# # Fix directory permissions -# find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : -# # Fix permissions on chrome files -# find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : -# -#} +pkg_postinst() { + + export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaFirebird" + + # Needed to update the run time bindings for REGXPCOM + # (do not remove next line!) + env-update + # Register Components and Chrome + einfo "Registering Components and Chrome..." + LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regxpcom + LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regchrome + # Fix permissions of component registry + chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat + # Fix directory permissions + find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : + # Fix permissions on chrome files + find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : + +} diff --git a/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild b/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild index 363b33e208b2..de06feafb559 100644 --- a/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild +++ b/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild,v 1.8 2003/08/03 08:13:02 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild,v 1.9 2003/08/03 09:09:07 brad Exp $ inherit makeedit flag-o-matic gcc nsplugins eutils @@ -216,23 +216,22 @@ pkg_preinst() { pkg_mv_plugins /usr/lib/MozillaFirebird/plugins } -#pkg_postinst() { -# -# export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaFirebird" -# -# # Needed to update the run time bindings for REGXPCOM -# # (do not remove next line!) -# env-update -# # Register Components and Chrome -# einfo "Registering Components and Chrome..." -# LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regxpcom -# LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regchrome -# # Fix permissions of component registry -# chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat -# # Fix directory permissions -# find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : -# # Fix permissions on chrome files -# find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : -# -#} +pkg_postinst() { + export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaFirebird" + + # Needed to update the run time bindings for REGXPCOM + # (do not remove next line!) + env-update + # Register Components and Chrome + einfo "Registering Components and Chrome..." + LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regxpcom + LD_LIBRARY_PATH=/usr/lib/MozillaFirebird ${MOZILLA_FIVE_HOME}/regchrome + # Fix permissions of component registry + chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat + # Fix directory permissions + find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : + # Fix permissions on chrome files + find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : + +} |