From: Michael Palimaka Date: Fri, 20 May 2016 19:46:11 +0000 (+0200) Subject: kde5.eclass: install all translations when LINGUAS is undefined X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce;p=gentoo.git kde5.eclass: install all translations when LINGUAS is undefined This mirrors the behaviour of the gettext autotools macros. Gentoo-bug: 581382 Signed-off-by: Johannes Huber --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 377d2c566734..eaffb9e27cf9 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -397,7 +397,7 @@ kde5_src_prepare() { # enable only the requested translations # when required - if [[ -d po ]] ; then + if [[ -d po && -v LINGUAS ]] ; then pushd po > /dev/null || die for lang in *; do if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then