From 1656557407a8a913197ea60ffe7ee77c78e3ed25 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 6 Jan 2021 15:34:50 +0100 Subject: Add edge-case for Archlinux' LC_ALL The Archlinux devs appear to be the only ones who missed the memo about C.UTF-8, so this patch should work around that. --- lib/actions/install.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/actions/install.bash b/lib/actions/install.bash index a0ff2a5..4ded627 100644 --- a/lib/actions/install.bash +++ b/lib/actions/install.bash @@ -43,7 +43,10 @@ action() { esac # Prepare environment for a reproducible install - LC_ALL=C.UTF-8 + case ${RSTAR_PLATFORM["key"]} in + linux-arch_linux) LC_ALL=en_US.UTF-8 ;; + *) LC_ALL=C.UTF-8 ;; + esac # Distribution tarballs come with an epoch set, use it if you find it. if [[ -f "$BASEDIR/etc/epoch.txt" ]] -- cgit v1.1