commit:     75540c37ede5c4aeec217df8ac7808768def43f3
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  6 19:27:37 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Jul  6 19:33:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75540c37

kde-misc/quadkonsole: fix linguas -> l10n fallout

Gentoo-bug: 588180

Package-Manager: portage-2.3.0

 kde-misc/quadkonsole/quadkonsole-0.4.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-misc/quadkonsole/quadkonsole-0.4.4-r1.ebuild 
b/kde-misc/quadkonsole/quadkonsole-0.4.4-r1.ebuild
index 85711aa..7a6401e 100644
--- a/kde-misc/quadkonsole/quadkonsole-0.4.4-r1.ebuild
+++ b/kde-misc/quadkonsole/quadkonsole-0.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -33,7 +33,7 @@ S=${WORKDIR}/${MY_P}
 src_prepare() {
        local lang
        for lang in ${KDE_LINGUAS} ; do
-               if ! use linguas_${lang} ; then
+               if ! use "l10n_$(kde4_lingua_to_l10n "${lang}")" ; then
                        rm ${KDE_LINGUAS_DIR}/${PN}4_${lang}.po
                fi
        done

Reply via email to