commit:     60e13eaff63698dc7249467a68da4ff07848c367
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 10 13:50:14 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jun 10 13:50:14 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=60e13eaf

[eclass] Linguas is only shipped in releases.

---
 eclass/kde5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 8025fc5..f0f9316 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -294,7 +294,7 @@ kde5_src_prepare() {
 
        # enable only the requested translations
        # when required
-       if use_if_iuse nls ; then
+       if [[ ${KDE_BUILD_TYPE} = release ]] && use_if_iuse nls ; then
                for lang in $(ls po) ; do
                        if ! has ${lang} ${LINGUAS} ; then
                                rm -rf po/${lang}

Reply via email to