diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-04-19 15:58:14 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-04-19 15:58:14 +0000 |
commit | f4189eeaef7031cd99e4e4cef7ead67e37aaeed5 (patch) | |
tree | f0282b1d03402aabed3575f9f46d90e67503cfca /www-client/mozilla-firefox-bin | |
parent | Stable on ppc64; bug #218407 (diff) | |
download | gentoo-2-f4189eeaef7031cd99e4e4cef7ead67e37aaeed5.tar.gz gentoo-2-f4189eeaef7031cd99e4e4cef7ead67e37aaeed5.tar.bz2 gentoo-2-f4189eeaef7031cd99e4e4cef7ead67e37aaeed5.zip |
Some more tweaks
(Portage version: 2.1.5_rc4)
Diffstat (limited to 'www-client/mozilla-firefox-bin')
-rw-r--r-- | www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild | 6 | ||||
-rw-r--r-- | www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild index a10724109872..6d33928598bf 100644 --- a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild,v 1.6 2008/04/19 14:38:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild,v 1.7 2008/04/19 15:58:14 armin76 Exp $ inherit eutils mozilla-launcher multilib mozextension @@ -90,7 +90,7 @@ src_unpack() { for X in ${linguas}; do [[ ${X} != "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi" done - if [[ ${linguas} != "" ]]; then + if [[ ${linguas} != "" && ${linguas} != "en" ]]; then einfo "Selected language packs (first will be default): ${linguas}" fi } @@ -109,7 +109,7 @@ src_install() { done local LANG=${linguas%% *} - if [[ -n ${LANG} ]]; then + if [[ -n ${LANG} && ${LANG} != "en" ]]; then elog "Setting default locale to ${LANG}" dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox.js \ diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild index 966a1f7c52c3..0c66bc1a9920 100644 --- a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild,v 1.3 2008/04/19 14:38:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0_beta5.ebuild,v 1.4 2008/04/19 15:58:14 armin76 Exp $ inherit eutils multilib mozextension @@ -90,7 +90,7 @@ src_unpack() { for X in ${linguas}; do [[ ${X} != "en" ]] && xpi_unpack "${MY_P/-bin/}-${X}.xpi" done - if [[ ${linguas} != "" ]]; then + if [[ ${linguas} != "" && ${linguas} != "en" ]]; then einfo "Selected language packs (first will be default): ${linguas}" fi } @@ -108,7 +108,7 @@ src_install() { done local LANG=${linguas%% *} - if [[ -n ${LANG} ]]; then + if [[ -n ${LANG} && ${LANG} != "en" ]]; then elog "Setting default locale to ${LANG}" dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox.js \ |