diff options
author | 2018-02-10 16:27:30 +0100 | |
---|---|---|
committer | 2020-05-12 07:05:38 +0300 | |
commit | 720917daed356ccda8a39bab4870b6d6db2bfc0e (patch) | |
tree | 42262206b2b7d63d0e476186f6bbf24d12abf3bb | |
parent | glibc: make locale-gen parallel, bug #592300 (diff) | |
download | locale-gen-720917daed356ccda8a39bab4870b6d6db2bfc0e.tar.gz locale-gen-720917daed356ccda8a39bab4870b6d6db2bfc0e.tar.bz2 locale-gen-720917daed356ccda8a39bab4870b6d6db2bfc0e.zip |
locale-gen: suppress ignored error when emptying already empty directory
Originally aba214da1a265afe4dfa3b52bc356275a275a9aa, gentoo/glibc-9999-6
Closes: https://bugs.gentoo.org/647188
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-x | locale-gen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ mkdir -p "${LOCALEDIR}" if [[ -z ${KEEP} && -z ${UPDATE} ]] ; then # Remove all old locale dir and locale-archive before generating new # locale data. Scrubbing via update is done elsewhere. - rm -rf "${LOCALEDIR}"/* || true + rm -rf "${LOCALEDIR}"/* &> /dev/null || true fi # Transform the name in locales.gen to the name used when storing |