diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-04-28 04:47:38 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-04-28 04:49:00 +1000 |
commit | 0510e917c31b3097087f08d4932c8347ee1efaf9 (patch) | |
tree | 6d5ea59d3621625abbea75e523573335dcf32cd8 | |
parent | kde5-functions.eclass: drop EAPI 5 support (diff) | |
download | kde-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.eclass | 2 |
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 |