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 /eclass | |
| parent | 6902585d3513138b733307823be214b362b4a28b (diff) | |
| download | kde-0510e917c31b3097087f08d4932c8347ee1efaf9.tar.gz kde-0510e917c31b3097087f08d4932c8347ee1efaf9.tar.bz2 kde-0510e917c31b3097087f08d4932c8347ee1efaf9.zip | |
kde5.eclass: install all translations when LINGUAS is undefined
This mirrors the behaviour of the gettext autotools macros.
Gentoo-bug: 581382
Diffstat (limited to 'eclass')
| -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 80f8a7d4c0e..76209660ef5 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 |
