diff options
Diffstat (limited to 'www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild')
-rw-r--r-- | www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild | 12 |
1 files changed, 7 insertions, 5 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 24501e5633cb..a4b0c4b5c8c1 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,10 +1,10 @@ # 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.2 2008/04/18 10:54:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.14.ebuild,v 1.3 2008/04/19 11:16:19 armin76 Exp $ inherit eutils mozilla-launcher multilib mozextension -LANGS="af ar be bg ca cs da de el en-GB es-AR es-ES eu fi fr fy-NL ga-IE gu-IN he hu it ja ka ko ku lt mk mn nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru sk sl sv-SE tr uk zh-CN zh-TW" +LANGS="af ar be bg ca cs da de el en en-GB es-AR es-ES eu fi fr fy-NL ga-IE gu-IN he hu it ja ka ko ku lt mk mn nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru sk sl sv-SE tr uk zh-CN zh-TW" NOSHORTLANGS="en-GB es-AR pt-BR zh-TW" DESCRIPTION="Firefox Web Browser" @@ -20,8 +20,10 @@ LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" IUSE="restrict-javascript" for X in ${LANGS} ; do - SRC_URI="${SRC_URI} - linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" + if [ "${X}" != "en"]; then + SRC_URI="${SRC_URI} + linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" + fi IUSE="${IUSE} linguas_${X/-/_}" # english is handled internally if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then @@ -105,7 +107,7 @@ src_install() { done local LANG=${linguas%% *} - if [[ -n ${LANG} && ${LANG} != "en" ]]; then + if [[ -n ${LANG} ]]; 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 \ |