commit:     2f6a34be45332551da371600ba49d0aa368088a8
Author:     Martin von Gagern <Martin.vGagern <AT> gmx <DOT> net>
AuthorDate: Wed Jan  4 22:07:30 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 19:52:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6a34be

app-office/scribus: Avoid excessive amounts of warnings

Closes: https://github.com/gentoo/gentoo/pull/3331

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-office/scribus/scribus-1.5.2-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-office/scribus/scribus-1.5.2-r2.ebuild 
b/app-office/scribus/scribus-1.5.2-r2.ebuild
index 5a5a5eb..a556642 100644
--- a/app-office/scribus/scribus-1.5.2-r2.ebuild
+++ b/app-office/scribus/scribus-1.5.2-r2.ebuild
@@ -157,7 +157,7 @@ src_install() {
        # en_EN can be deleted always
        for lang in ${IUSE_LINGUAS}; do
                if ! use linguas_${lang}; then
-                       _lang=$(translate_lang)
+                       _lang=$(translate_lang ${lang})
                        safe_delete "${ED%/}"/usr/share/man/${_lang}
                fi
        done
@@ -205,8 +205,6 @@ safe_delete () {
                        ebegin "Deleting ${x}"
                        rm "${x}" || die
                        eend $?
-               else
-                       ewarn "${x} not found"
                fi
        done
 }

Reply via email to