diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2006-05-12 02:47:25 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2006-05-12 02:47:25 +0000 |
commit | 29f66599c34258f69be03b2b1edeb4cd53895e8a (patch) | |
tree | 101229669d9a4956c61a83f56b623f4834928f09 /www-client | |
parent | Stable on amd64. (diff) | |
download | gentoo-2-29f66599c34258f69be03b2b1edeb4cd53895e8a.tar.gz gentoo-2-29f66599c34258f69be03b2b1edeb4cd53895e8a.tar.bz2 gentoo-2-29f66599c34258f69be03b2b1edeb4cd53895e8a.zip |
Treat LINGUAS=en_US as LINGUAS=en
(Portage version: 2.1_pre10-r5)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/mozilla-firefox/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/www-client/mozilla-firefox/ChangeLog b/www-client/mozilla-firefox/ChangeLog index 2348a4c8c189..0820e3242033 100644 --- a/www-client/mozilla-firefox/ChangeLog +++ b/www-client/mozilla-firefox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/mozilla-firefox # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.151 2006/05/06 19:06:43 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.152 2006/05/12 02:47:25 truedfx Exp $ + + 12 May 2006; Harald van Dijk <truedfx@gentoo.org> + mozilla-firefox-1.5.0.3.ebuild: + Treat LINGUAS=en_US as LINGUAS=en, reported by steev on IRC 06 May 2006; Harald van Dijk <truedfx@gentoo.org> mozilla-firefox-1.5.0.3.ebuild: diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild index bea8840d2e53..8b9df6f784c8 100644 --- a/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild +++ b/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild,v 1.4 2006/05/06 19:06:43 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5.0.3.ebuild,v 1.5 2006/05/12 02:47:25 truedfx Exp $ unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 @@ -51,7 +51,11 @@ linguas() { linguas= local LANG for LANG in ${LINGUAS}; do - if hasq ${LANG} ${LANGS//-/_} en; then + if hasq ${LANG} en en_US; then + hasq en ${linguas} || \ + linguas="${linguas:+"${linguas} "}en" + continue + elif hasq ${LANG} ${LANGS//-/_}; then hasq ${LANG//_/-} ${linguas} || \ linguas="${linguas:+"${linguas} "}${LANG//_/-}" continue |