From 2f6a34be45332551da371600ba49d0aa368088a8 Mon Sep 17 00:00:00 2001 From: Martin von Gagern Date: Wed, 4 Jan 2017 23:07:30 +0100 Subject: app-office/scribus: Avoid excessive amounts of warnings Closes: https://github.com/gentoo/gentoo/pull/3331 Signed-off-by: Justin Lecher --- 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 5a5a5eb04e8f..a5566423bf04 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 } -- cgit v1.2.3-65-gdbad