From: Martin von Gagern Date: Wed, 4 Jan 2017 22:07:30 +0000 (+0100) Subject: app-office/scribus: Avoid excessive amounts of warnings X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2f6a34be45332551da371600ba49d0aa368088a8;p=gentoo.git app-office/scribus: Avoid excessive amounts of warnings Closes: https://github.com/gentoo/gentoo/pull/3331 Signed-off-by: Justin Lecher --- 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 }