summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin von Gagern <Martin.vGagern@gmx.net>2017-01-04 23:07:30 +0100
committerJustin Lecher <jlec@gentoo.org>2017-01-05 19:52:59 +0000
commit2f6a34be45332551da371600ba49d0aa368088a8 (patch)
tree617dae61543091629f6a06f7d2514f2ec0cf99c0 /app-office/scribus
parentdev-python/xonsh: Make optfeature msg nicer (diff)
downloadgentoo-2f6a34be45332551da371600ba49d0aa368088a8.tar.gz
gentoo-2f6a34be45332551da371600ba49d0aa368088a8.tar.bz2
gentoo-2f6a34be45332551da371600ba49d0aa368088a8.zip
app-office/scribus: Avoid excessive amounts of warnings
Closes: https://github.com/gentoo/gentoo/pull/3331 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-office/scribus')
-rw-r--r--app-office/scribus/scribus-1.5.2-r2.ebuild4
1 files changed, 1 insertions, 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
}