Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/locale-gen:master commit in: /
Date: Mon, 27 Sep 2021 05:46:04
Message-Id: 1632721090.7e7ec15d2c96b8b13923b470b4f5f31a993ab756.vapier@gentoo
1 commit: 7e7ec15d2c96b8b13923b470b4f5f31a993ab756
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 05:38:10 2021 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 05:38:10 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=7e7ec15d
7
8 omit more spam when in quiet mode
9
10 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
11
12 locale-gen | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/locale-gen b/locale-gen
16 index 264cd23..d313c23 100755
17 --- a/locale-gen
18 +++ b/locale-gen
19 @@ -379,7 +379,7 @@ einfo "Generation complete"
20 if ${LOCALE_ARCHIVE} && [[ -z ${JUST_LIST} ]] ; then
21 # need to check that at least one locale has to be added
22 if [[ $(echo "${LOCALEDIR}"/*/) != "${LOCALEDIR}"'/*/' ]] ; then
23 - ebegin "Adding locales to archive"
24 + [[ ${QUIET} -eq 0 ]] && ebegin "Adding locales to archive"
25 # The pattern ends with / on purpose: we don't care about files (like
26 # locale-archive) in the locale subdir, and we definitely don't want to
27 # delete them!
28 @@ -416,7 +416,7 @@ if ${LOCALE_ARCHIVE} && [[ -z ${JUST_LIST} ]] ; then
29 exit ${ret}
30 )
31 done
32 - eend $ret
33 + [[ ${QUIET} -eq 0 ]] && eend ${ret}
34 elif [[ ${QUIET} -eq 0 ]] ; then
35 einfo "No locales are to be added to the archive."
36 fi