diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-27 01:38:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-09-27 01:38:10 -0400 |
commit | 7e7ec15d2c96b8b13923b470b4f5f31a993ab756 (patch) | |
tree | 1035deffeabfd01b67bbca28a274690ca1485a8b | |
parent | Ensure DESTDIR ends with a / (diff) | |
download | locale-gen-7e7ec15d2c96b8b13923b470b4f5f31a993ab756.tar.gz locale-gen-7e7ec15d2c96b8b13923b470b4f5f31a993ab756.tar.bz2 locale-gen-7e7ec15d2c96b8b13923b470b4f5f31a993ab756.zip |
omit more spam when in quiet mode
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | locale-gen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -379,7 +379,7 @@ einfo "Generation complete" if ${LOCALE_ARCHIVE} && [[ -z ${JUST_LIST} ]] ; then # need to check that at least one locale has to be added if [[ $(echo "${LOCALEDIR}"/*/) != "${LOCALEDIR}"'/*/' ]] ; then - ebegin "Adding locales to archive" + [[ ${QUIET} -eq 0 ]] && ebegin "Adding locales to archive" # The pattern ends with / on purpose: we don't care about files (like # locale-archive) in the locale subdir, and we definitely don't want to # delete them! @@ -416,7 +416,7 @@ if ${LOCALE_ARCHIVE} && [[ -z ${JUST_LIST} ]] ; then exit ${ret} ) done - eend $ret + [[ ${QUIET} -eq 0 ]] && eend ${ret} elif [[ ${QUIET} -eq 0 ]] ; then einfo "No locales are to be added to the archive." fi |