summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-05-21 18:13:57 -0400
committerMike Gilbert <floppym@gentoo.org>2016-05-21 18:13:57 -0400
commitb4c580b4fd1f16da3a20349ba7b1c59752e13a34 (patch)
tree9e46f7525a6f85e9eef0e1067ab036baa80012ed /eclass/chromium.eclass
parentdev-perl/CGI: Remove old (diff)
downloadgentoo-b4c580b4fd1f16da3a20349ba7b1c59752e13a34.tar.gz
gentoo-b4c580b4fd1f16da3a20349ba7b1c59752e13a34.tar.bz2
gentoo-b4c580b4fd1f16da3a20349ba7b1c59752e13a34.zip
chromium.eclass: remove special-case for es_LA
Diffstat (limited to 'eclass/chromium.eclass')
-rw-r--r--eclass/chromium.eclass16
1 files changed, 2 insertions, 14 deletions
diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
index ae6a84bc468..5310251fa8d 100644
--- a/eclass/chromium.eclass
+++ b/eclass/chromium.eclass
@@ -64,23 +64,11 @@ if [[ ${CHROMIUM_LANGS} ]]; then
fi
_chromium_crlang() {
- local x
- for x in "$@"; do
- case $x in
- es_LA) echo es-419 ;;
- *) echo "${x/_/-}" ;;
- esac
- done
+ echo "${@/_/-}"
}
_chromium_syslang() {
- local x
- for x in "$@"; do
- case $x in
- es-419) echo es_LA ;;
- *) echo "${x/-/_}" ;;
- esac
- done
+ echo "${@/-/_}"
}
_chromium_strip_pak() {