diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-05-20 21:46:11 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-05-20 21:47:15 +0200 |
commit | 548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce (patch) | |
tree | 60977e436912bafa26456d429d8df2a8ba7708de /eclass/kde5.eclass | |
parent | kde5-functions.eclass: Drop EAPI 5 support (diff) | |
download | gentoo-548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.tar.gz gentoo-548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.tar.bz2 gentoo-548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.zip |
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 <johu@gentoo.org>
Diffstat (limited to 'eclass/kde5.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 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 |