summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-01-06 16:44:53 -0500
committerMike Gilbert <floppym@gentoo.org>2018-01-06 16:48:48 -0500
commita4c59ca35d1c8e916baec83775a60ac7c66c100d (patch)
tree4ffd74b89eb5840ddbbd04f761ab61ff50fdf918 /eclass/chromium-2.eclass
parentdev-libs/pslib: Remove the linguas_de test from the stable ebuild too. (diff)
downloadgentoo-a4c59ca35d1c8e916baec83775a60ac7c66c100d.tar.gz
gentoo-a4c59ca35d1c8e916baec83775a60ac7c66c100d.tar.bz2
gentoo-a4c59ca35d1c8e916baec83775a60ac7c66c100d.zip
chromium-2.eclass: drop sr-ME workaround code
Closes: https://bugs.gentoo.org/583762 Closes: https://bugs.gentoo.org/643736
Diffstat (limited to 'eclass/chromium-2.eclass')
-rw-r--r--eclass/chromium-2.eclass16
1 files changed, 2 insertions, 14 deletions
diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass
index 699308304a48..64f5ee9bc833 100644
--- a/eclass/chromium-2.eclass
+++ b/eclass/chromium-2.eclass
@@ -71,10 +71,7 @@ chromium_remove_language_paks() {
# Look for missing pak files.
for lang in ${CHROMIUM_LANGS}; do
if [[ ! -e ${lang}.pak ]]; then
- # https://bugs.gentoo.org/583762
- if [[ ${lang} != sr-ME || ! -e me.pak ]]; then
- eqawarn "L10N warning: no .pak file for ${lang} (${lang}.pak not found)"
- fi
+ eqawarn "L10N warning: no .pak file for ${lang} (${lang}.pak not found)"
fi
done
@@ -90,20 +87,11 @@ chromium_remove_language_paks() {
continue
fi
- # https://bugs.gentoo.org/583762
- if [[ ${lang} == me ]]; then
- if ! has sr-ME ${CHROMIUM_LANGS}; then
- eqawarn "L10N warning: no sr-ME in LANGS"
- elif ! use l10n_sr-ME; then
- rm "${pak}" || die
- fi
- continue
- fi
-
if ! has ${lang} ${CHROMIUM_LANGS}; then
eqawarn "L10N warning: no ${lang} in LANGS"
continue
fi
+
if ! use l10n_${lang}; then
rm "${pak}" || die
fi