From aba214da1a265afe4dfa3b52bc356275a275a9aa Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 10 Feb 2018 16:27:30 +0100 Subject: [no-patch] locale-gen: suppress ignored error when emptying already empty directory Closes: https://bugs.gentoo.org/647188 --- scripts/gentoo/extra/locale/locale-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gentoo/extra/locale/locale-gen b/scripts/gentoo/extra/locale/locale-gen index 6653caddc2..fc861f4623 100755 --- a/scripts/gentoo/extra/locale/locale-gen +++ b/scripts/gentoo/extra/locale/locale-gen @@ -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 -- cgit v1.2.3-65-gdbad