aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-01-06 15:34:50 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-01-06 15:34:50 +0100
commit1656557407a8a913197ea60ffe7ee77c78e3ed25 (patch)
treeabc00fa023ec15b9f62eb2e673d249325aa354ba
parentac845014f00a3f78ef5428dad8501a97397f1272 (diff)
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.
-rw-r--r--lib/actions/install.bash5
1 files changed, 4 insertions, 1 deletions
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" ]]