aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-28 04:47:38 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-28 04:49:00 +1000
commit0510e917c31b3097087f08d4932c8347ee1efaf9 (patch)
tree6d5ea59d3621625abbea75e523573335dcf32cd8
parentkde5-functions.eclass: drop EAPI 5 support (diff)
downloadkde-0510e917.tar.gz
kde-0510e917.tar.bz2
kde-0510e917.zip
kde5.eclass: install all translations when LINGUAS is undefined
This mirrors the behaviour of the gettext autotools macros. Gentoo-bug: 581382
-rw-r--r--eclass/kde5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 80f8a7d4c0..76209660ef 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -472,7 +472,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