commit:     a4c59ca35d1c8e916baec83775a60ac7c66c100d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 21:44:53 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 21:48:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c59ca3

chromium-2.eclass: drop sr-ME workaround code

Closes: https://bugs.gentoo.org/583762
Closes: https://bugs.gentoo.org/643736

 eclass/chromium-2.eclass | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass
index 699308304a4..64f5ee9bc83 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

Reply via email to